I have just found Gambas and have the usual learning curve. Sigh. I have copied the code from http://gambaswiki.org/wiki/comp/gb/object/a ttach into a new project and tried stepping through it. The first statement is the declaration 'Public pbSwitch As Object[16]' and this throws ''Syntax error in FMain.class:3'. If I delete the array dimension '16', I can step through the code until the first time the array is used when it falls over, of course. Can someone please tell me what I have done wrong?
By the way, I am glad to have found Gambas, as it leverages my VB and LibreOffice Basic experience. Excellent application! Kind regards, Doug ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user