[Gambas-user] gambas not installed by package manager problems.

Brian G brian at westwoodsvcs.com
Wed Nov 4 18:18:54 CET 2020


Brice one point, 

When your doing something like 'ls > filename' the file name must start with ./ or ~/ or / otherwise gsh assumes you writing to a variable. 
If you want to do a dim var and use it you must surround the block with { .. } or lambda .. end 
eg. 
{ 
dim a as integer 
for a = 100 to 100 
print a; 
next 
} 

the above will be compiled to a single gambas script block 
actually any block can be used 

as in 
for a as integer = 100 to 100 
print a 
next 

would also work 

Thank You 
Brian G 


From: "Bruce Steers" <bsteers4 at gmail.com> 
To: "Gambas mailing list" <user at lists.gambas-basic.org> 
Sent: Wednesday, November 4, 2020 8:33:29 AM 
Subject: Re: [Gambas-user] gambas not installed by package manager problems. 

excellent Brian cheers, working now :) 


On Wed, 4 Nov 2020 at 15:28, Brian G < [ mailto:brian at westwoodsvcs.com | brian at westwoodsvcs.com ] > wrote: 


Bruce, 
This link s an archive that can simple be extracted to the root directory and installs all required files 

[ https://github.com/justlostintime/GambasShell/blob/master/InstallCompletely.tar.gz | https://github.com/justlostintime/GambasShell/blob/master/InstallCompletely.tar.gz ] 

Lol 

Hope that helps, It of course does not add support for gsh type files 

Thank You 
Brian G 

----- Original Message ----- 
From: "Brian" < [ mailto:brian at westwoodsvcs.com | brian at westwoodsvcs.com ] > 
To: "Gambas mailing list" < [ mailto:user at lists.gambas-basic.org | user at lists.gambas-basic.org ] > 
Subject: Re: [Gambas-user] gambas not installed by package manager problems. 

----[ [ http://gambaswiki.org/wiki/doc/netiquette | http://gambaswiki.org/wiki/doc/netiquette ] ]---- 





----[ http://gambaswiki.org/wiki/doc/netiquette ]---- 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20201104/5436f735/attachment-0001.htm>


More information about the User mailing list