Visualizzazione dei risultati da 1 a 3 su 3
  1. #1

    [Stringhe]verificare se una variabile esiste

    Ciao,
    scusate la domanda banale, ma abituato in php ora sono in grande difficolta con le basi asp. per verificare se un variabile esiste, come devo impostare l'if?

    if variabile not nothing then
    'la variabile non esiste
    end

    corretto?

  2. #2
    if variabile <> "" or not isnull(variabile) then
    ....
    else
    ....
    end if
    Matrix è ovunque, è intorno a noi, anche adesso nella stanza in cui siamo. È quello che vedi quando ti affacci alla finestra o quando accendi il televisore. L'avverti quando vai al lavoro, quando vai in chiesa, quando paghi le tasse. È il mondo che ti è stato messo dinanzi agli occhi, per nasconderti la verità.

  3. #3
    grazie ZeroCool981

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.