DefinedChecks if a specific SIML variable or function is defined whether or not a particular name has been defined as a function, variable, or parameter name in the current running SIML file, or any include files.
Sample SourceIf ( Defined "MyVariable" As "Variable") Then
Say MyVariable
EndIf
If ( Defined "MyVariable" As "LocalVariable") Then
Say MyVariable
EndIf
If ( Defined "MyVariable" As "GlobalVariable") Then
Say MyVariable
EndIf
If ( Defined "MyVariable" As "Parameter") Then
Say Parameter "MyVariable"
EndIf
If ( Defined "MyVariable" As "Function") Then
Call "MyVariable"
Else
Say "Function not available."
EndIf
|
Related Function(s): <SIML ...>; Parameter; Minimum version: 1.0
|