--- In blassic@yahoogroups.com, "not_found_blassic" <julian.notfound@...> wrote:
>
> --- In blassic@yahoogroups.com, "cybermonkey342" mmangold@ wrote:
>
> > I just wanted to know if it is possible to get values with the SHELL command? For example if I am using SHELL ("zenity") can the returned value be stored?
>
> The return code of the last command executed is stored on sysvar 24. Try this (in a system with a sh-like shell):
>
> result = sysvarptr + 24
> shell "return 1"
> print peek(result)
> shell "return 42"
> print peek(result)
>
> See http://blassic.org/sysvar.html for information on system variables.
>
Okay. That's what I wanted to know, thank you. But it is obviously not possible to return the value of a string?
> > BTW: Nice to see there are still updates for Blassic so this lovely BASIC dialect isn't dead for now ...
>
> Is always nice to see there are people interested in old Basic dialects, and in Blassic in particular :)
>
Well, I don't know why, but I am trying that modern object oriented BASICs and nothing ever works but sitting down with Blassic, I can start hacking programms in my keyboard. ;-)
Well, I learned coding with a Commodore 64 but seem never learned anything more ...
By the way I posted at forum.basicprogramming.org how to create a PDF file with Blassic under Linux. ;-)
The link:
blassic forum entry