gambas-source-code/app/src/gbs3/TestApp
Brian G 7fa5049110 [SCRIPTER]
* New: Broken Down Into Easy Unit Test Targets
* OPT: Now 10-20 times faster for simple scripts
* OPT: Cleanup error handling and reporting code
* NEW: Added errors if user tries to use Public or struct without main
* NEW: Global variable now are moved to context that is shared
* OPT: Modules have been configured to only load when used
* NEW: #include is now supported as well as include
* NEW: It is possible to include more that one file per line
* NEW: Error/warning  handling is moved to seperate modules
2021-03-06 13:17:35 +01:00

19 lines
331 B
Text

#!/usr/bin/gbs3
use "gb.eval.highlight","gb.pcre"
#SCRIPT Version="1.0.5"
Dim x as string = "hello"
#INCLUDE "TestAppInclude"
dim cNew as new TestIt
print "From Include of class ",cNew();;"Static Class Include ";TestStatic()
'bogomips
for i as integer = 0 to 20
print x;;i
next
Print "Version Number :";;application.version