[Info-vax] DCL Integer Overflow
Stephen Hoffman
seaohveh at hoffmanlabs.invalid
Tue Jul 11 11:36:03 EDT 2017
On 2017-07-11 15:11:58 +0000, VAXman- @SendSpamHere.ORG said:
> In article <841537a9-2fd0-4f8b-b6ff-a2cd022c7683 at googlegroups.com>,
> osuvman50 at gmail.com writes:
>> On Tuesday, July 11, 2017 at 9:08:50 AM UTC-4, Bob Koehler wrote:
>>> In article <770567ee-5f37-4e67-b128-e3ca20989e98 at googlegroups.com>,
>>> osuvman50 at gmail.com writes:
>>>>
>>>> I said clean way, embedding the index in the symbol name is an ugly
>>>> hack. And doing a(b(i)) requires intermediate symbols.
>>>
>>> No, it's a beautiful hack.
>>>
>>> Now, define "clean".
>>
>> Clean means an array is readily identifiable as an array via
>> declaration (i.e. dimension statement) and not something inferred by
>> examining the usage. Plus, the less symbol substitution syntax the
>> better (do i need ' here or ''?).
>
> In bash, it's:
>
> Array[i][j] = x
>
> Not all that much of a deal in DCL:
>
> Array'i''j' = x
Until you have cases such as i = 1 and j = 11, and i = 11 and j = 1, in
your example. Yes, there are ways around that. And down the
syntactic sugar rabbit hole we go....
--
Pure Personal Opinion | HoffmanLabs LLC
More information about the Info-vax
mailing list