Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
17
Task/Introspection/FreeBASIC/introspection-1.basic
Normal file
17
Task/Introspection/FreeBASIC/introspection-1.basic
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
' FB 1.05.0 Win64
|
||||
|
||||
#If __FB_VERSION__ < "1.06.0"
|
||||
#Error "Compiler version is too old - needs to be 1.06.0 or later"
|
||||
#EndIf
|
||||
|
||||
Dim bloop As Integer = -15
|
||||
#IfDef bloop
|
||||
#IfDef Abs
|
||||
Print "Abs(bloop) = "; Abs(bloop)
|
||||
#Else
|
||||
Print "Abs is not available"
|
||||
#EndIf
|
||||
#Else
|
||||
Print "bloop does not exist"
|
||||
#EndIf
|
||||
Sleep
|
||||
17
Task/Introspection/FreeBASIC/introspection-2.basic
Normal file
17
Task/Introspection/FreeBASIC/introspection-2.basic
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
' FB 1.05.0 Win64
|
||||
|
||||
#If __FB_VERSION__ < "1.05.0" '' version 1.05.0 is now OK
|
||||
#Error "Compiler version is too old - needs to be 1.05.0 or later"
|
||||
#EndIf
|
||||
|
||||
Dim bloop As Integer = -15
|
||||
#IfDef bloop
|
||||
#IfDef Abs
|
||||
Print "Abs(bloop) = "; Abs(bloop)
|
||||
#Else
|
||||
Print "Abs is not available"
|
||||
#EndIf
|
||||
#Else
|
||||
Print "bloop does not exist"
|
||||
#EndIf
|
||||
Sleep
|
||||
12
Task/Introspection/FreeBASIC/introspection-3.basic
Normal file
12
Task/Introspection/FreeBASIC/introspection-3.basic
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#Undef Abs '' undefine Abs keyword
|
||||
Dim bloop As Integer = -15
|
||||
#IfDef bloop
|
||||
#IfDef Abs
|
||||
Print "Abs(bloop) = "; Abs(bloop)
|
||||
#Else
|
||||
Print "Abs is not available"
|
||||
#EndIf
|
||||
#Else
|
||||
Print "bloop does not exist"
|
||||
#EndIf
|
||||
Sleep
|
||||
12
Task/Introspection/FreeBASIC/introspection-4.basic
Normal file
12
Task/Introspection/FreeBASIC/introspection-4.basic
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#Undef Abs '' undefine Abs keyword
|
||||
'Dim bloop As Integer = -15 '' bloop declaration commented out
|
||||
#IfDef bloop
|
||||
#IfDef Abs
|
||||
Print "Abs(bloop) = "; Abs(bloop)
|
||||
#Else
|
||||
Print "Abs is not available"
|
||||
#EndIf
|
||||
#Else
|
||||
Print "bloop does not exist"
|
||||
#EndIf
|
||||
Sleep
|
||||
Loading…
Add table
Add a link
Reference in a new issue