langs a-z

This commit is contained in:
Ingy döt Net 2013-04-10 22:43:41 -07:00
parent db842d013d
commit d066446780
11389 changed files with 98361 additions and 1020 deletions

View file

@ -0,0 +1,10 @@
If a = 0
Debug "a = 0"
ElseIf a > 0
Debug "a > 0"
Else
Debug "a < 0"
EndIf

View file

@ -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

View file

@ -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

View file

@ -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