[Gambas-user] Scripter Add --fromProject to scripter that will convert a project to a script

Brian G brian at westwoodsvcs.com
Thu Mar 4 18:54:43 CET 2021


As an example of multi error the terse output from this script
_____________________________________________________________________
#!/usr/bin/env -S gbs3 -c -T
'Auto Generated Script 03/01/2021 23:31:35.409
' Gambas module file

class testclass
    fg = dog
    print fg
end class

Public Sub Main()
Dim i As Integer = 0


Loop   ' should be do...loop until
  Inc i
  Print "Hello world"

Until i > 20

End
_________________________________________________________
Would be:
________________________________________________________
# Gambas module file : MMain:11:36
   11*:Loop   ' should be do...loop until
                                          ^ LOOP without DO
# Gambas class file : testclass:1:9
    1*:    fg = dog
               ^ Missing AS
_____________________________________________________________

"Failure is the key to success; 
 each mistake teaches us something"  .. Morihei Ueshiba
Brian G

----- On Mar 4, 2021, at 9:48 AM, Brian brian at westwoodsvcs.com wrote:


More information about the User mailing list