[Info-vax] DCL's flaws (both scripting and UI)
Jan-Erik Soderholm
jan-erik.soderholm at telia.com
Tue Jan 20 07:46:48 EST 2015
David Froble skrev den 2015-01-20 04:06:
> Stephen Hoffman wrote:
>>
>> Key-value stores. These are a form of an in-memory indexed file. Specify
>> the key, get the value. BASIC doesn't have anything similar built into
>> the language, though some folks do use RMS indexed files here.
>
> Oh, you mean like a doubly dimensioned array, or other structure, where I
> can load up some key-value pairs, then invoke a routine or code to take a
> key value and return the associated value?
>
> Different name for the same old things that have been done for many years.
> Perhaps refined, or specialized, but same thing as your description. Maybe
> for the old way someone actually has to know how to design and implement
> code ....
>
A built-in standard data type in Python, "Dictionaries".
https://docs.python.org/2/tutorial/datastructures.html#dictionaries
No routines to write, just use it...
Jan-Erik.
More information about the Info-vax
mailing list