[Gambas-user] Gambas scripter

Ron ron at ...1740...
Thu Dec 31 11:43:28 CET 2009


Some first experiences building scripts using gbs2

Is it possible to display the errors at end of the output?
If you execute a large script from shell and have a compile error you 
keep on scrolling up to see the error.

Or even better when there is an error on a line, display the script 
source until that line number with the error below it.
Maybe this is difficult because of the way scripting works. And/or 
display line numbers in front of source code lines.

Another thing, there is no way to get the file name of the script from 
within the code.

Application.Args[0] = 
/tmp/gambas.1000/script-cache/75ee02d930493c0fdc45e92c5b297df5

Application.Name =  6dc71006365626c9524efb11972ce2af

Script name in this case was 'callerid.script'

Gambas 2.18.0

Regards,
Ron_2nd.




More information about the User mailing list