Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,10 @@
|
|||
If a = 0
|
||||
Debug "a = 0"
|
||||
|
||||
ElseIf a > 0
|
||||
Debug "a > 0"
|
||||
|
||||
Else
|
||||
Debug "a < 0"
|
||||
|
||||
EndIf
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
Variable = 2
|
||||
|
||||
Select Variable
|
||||
Case 0
|
||||
Debug "Variable = 0"
|
||||
|
||||
Case 10, 11, 99
|
||||
Debug "Variable is 10, 11 or 99"
|
||||
|
||||
Case 20 To 30
|
||||
Debug "Variable >= 20 And Variable <= 30"
|
||||
|
||||
Default
|
||||
Debug "Variable = something else..."
|
||||
EndSelect
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
CompilerIf #PB_Compiler_OS = #PB_OS_Linux And #PB_Compiler_Processor = #PB_Processor_x86
|
||||
Debug "Compiled on x86 Linux"
|
||||
CompilerElse
|
||||
Debug "Compiled on something else"
|
||||
CompilerEndIf
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
CompilerSelect #PB_Compiler_OS
|
||||
CompilerCase #PB_OS_Linux
|
||||
Debug "Compiled on Linux"
|
||||
CompilerCase #PB_OS_Windows
|
||||
Debug "Compiled on Windows"
|
||||
CompilerCase #PB_OS_MacOS
|
||||
Debug "Compiled on Mac OS"
|
||||
CompilerDefault
|
||||
Debug "Compiled on something else"
|
||||
CompilerEndIf
|
||||
Loading…
Add table
Add a link
Reference in a new issue