7fa5049110
* 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
13 lines
No EOL
319 B
Text
13 lines
No EOL
319 B
Text
USE "gb.web"
|
|
PUBLIC SUB Main()
|
|
Response.Buffered = TRUE
|
|
Response.Begin
|
|
_PrintPage()
|
|
Response.End
|
|
END
|
|
|
|
PRIVATE SUB _PrintPage()
|
|
PRINT " #!/bin/env /usr/bin/gbw3\n \n <html>\n \n <h1>Gambas3 Web Server.</h1>\n \n ";
|
|
print "A01 ON"
|
|
PRINT "\n \n </html>";
|
|
END |