Sujet : Re: VMS Software Bootcamp 2024
De : craigberry (at) *nospam* nospam.mac.com (Craig A. Berry)
Groupes : comp.os.vmsDate : 14. Sep 2024, 23:45:33
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vc53me$1mob8$1@dont-email.me>
References : 1 2 3 4 5
User-Agent : Mozilla Thunderbird
On 9/14/24 5:33 PM, Lawrence D'Oliveiro wrote:
On Fri, 13 Sep 2024 20:02:20 -0400, Arne Vajhøj wrote:
But one can do some things:
* split logic up in subroutines
Does it have subroutine-local variables?
There are command levels, yes:
$ type foo.com
$ x := "foo"
$ call mysub
$ write sys$output x
$ exit
$ mysub: subroutine
$ x := "bar"
$ write sys$output x
$ endsubroutine
$ @foo
bar
foo
* have a convention for how to simulate arrays
I remember doing that with clever string substitution. ;)
It can be done. It's pretty ugly.