Associative array/Iteration: Difference between revisions
m
BaCon, BASIC256, and BBC BASIC moved to the BASIC section.
m (BaCon, BASIC256, and BBC BASIC moved to the BASIC section.) |
|||
Line 408:
For more information on maps in Babel, view [https://github.com/claytonkb/clean_babel/blob/master/std.sp std.sp] (see the section titled "map utilities").
=={{header|
==={{header|BaCon}}===
<syntaxhighlight lang="qbasic">DECLARE associative ASSOC STRING
Line 427 ⟶ 428:
LOOKUP creates a numerically indexed array of the keys of the associative array, with the number of elements stored in the field following the SIZE keyword.
==={{header|BASIC256}}===
''Solution is at [[Associative_array/Creation#BASIC256]]''.
==={{header|BBC BASIC}}===
<syntaxhighlight lang="bbcbasic"> REM Store some values with their keys:
PROCputdict(mydict$, "FF0000", "red")
|