Search found 11 matches

Some feedback: I downloaded iso for slacko 6.3.2 and it was impressive. Could download and install Gambas3 right away. Verdict is that it is extremely fast with a low memory & resources usage. However.... Virtualbox + Puppy = Not a seamless experience. (Say no more.) I have some <very old and one re...

This review of Gambas (saved on Google Drive as a .png image) was from the Linux User & Developer Magazine, October 2016. https://drive.google.com/open?id=0B1CewnZB0hD_YXBoSXZ0S2tXR2c https://lh6.googleusercontent.com/sfSUG2blqh2Fecb380VykXGDvSc8BMxH6YuwMiZoYQkGA7i9hD0lS1vLUJ1Cw75pqN5fM6aEGF6WprM=w1...

@cogier The second post was to illustrate how to get the value passed to the parameter in a CLI command. For example, Given the CLI command convention: command --argument value as in $ myclicmd --foo bar would return the value "bar" by accessing Args[3] (or Args[4]...) for multiple values. The coded...

Something more, if you are going to execute numerous send-keys commands to tmux from within Gambas, insert a shell command to let the system sleep for a second in between the statements. In this case I am using the shell command to wait for a second, though there are probably cases where a delay sho...

@jornmo, I have done exactly what you have suggested. Case "--help", "-h" However, I have many CLI scripts that call other scripts in turn. When developing custom CLI scripts it is ridiculous how often the short version is simply impractical since numerous commands will share the same first letter o...

For CLI utilities written in Gambas, there is a hack that allows the Unix pipe command in an Exec statement by sending keys to tmux. Exec ["tmux", "send-keys", "cat foo | grep bar" & "\r\n"] The above command lists the contents of the file named 'foo' to the terminal while piping the output to grep ...

I forgot to include this in the above... I access the value of the parameter through a function that is used in the routines called in the case loop. Here is the code for that: Public Sub GetStrParam() As String Dim arrParams As String[] Dim strParam As String arrParams = Args.All If arrParams.Count...

Greetings Everyone! Benoït has an excellent explanation on using gb.args in this thread: http://gambas.8142.n7.nabble.com/New-component-gb-args-td31829.html However, my mind is wrapped around the way command line arguments are used in most Ruby libraries. Simply because I am used to it, I use gb.Arg...

Thank you for your kind words. I have started with an Afrikaans translation for Gambas. Affrikaans originated from Dutch, and is the first language of over seven million people in South Africa and Namibia. Who knows, one day schools might use Gambas to teach programming in South African schools? To ...