Variables: Difference between revisions

Content added Content deleted
Line 319: Line 319:
print :L1 ; L1 has no value
print :L1 ; L1 has no value
print name? "L1 ; false, L1 is not bound in the current scope</lang>
print name? "L1 ; false, L1 is not bound in the current scope</lang>

=={{header|Lotusscript}}==

<lang Lotusscript>Sub Click()
'a few declarations as example
Dim s as New NotesSession ' declaring a New NotesSession actually returns the current, active NotesSession
Dim i as Integer ' i = 0
Dim s as String ' s= ""
Dim v as Variant ' v is nothing
Dim l as Long ' l = 0
Dim doc as NotesDocument 'doc is EMTPY

'...

End Sub
</lang>


=={{header|Modula-3}}==
=={{header|Modula-3}}==