[Info-vax] DCL Integer Overflow

Tym Stegner tym.stegner at gmail.com
Fri Jul 7 09:49:07 EDT 2017


Given the existence of the F$ELEMENT lexical, any text symbol can function as array-style storage.  Just choose your delimiter carefully.   Maybe not -quite- as easy to update a given element as with individual enumerated symbols, but for read-only access, it's hard to beat.

On Thursday, July 6, 2017 at 8:23:38 PM UTC-4, Steven Schweda wrote:
> > You left out one of the most glaring [omissions]: arrays.  You
> > have several functions that iterate, but no clean way to save
> > the results. 
> 
>    Define "clean".
> 
> ALP $ a1 = "aaa"
> ALP $ a2 = "bbb"
> ALP $ a3 = "ccc" 
> ALP $ i = 1
> ALP $ write sys$output a'i'
> aaa
> ALP $ i = 2
> ALP $ write sys$output a'i'
> bbb
> ALP $ i = 3
> ALP $ write sys$output a'i'
> ccc
> 
>    Want to see me do two dimensions?



More information about the Info-vax mailing list