Posted by Barbara Brazil on August 17, 2018 at 12:18:52:
In Reply to: Re: Sample program using STL Container (MAP) posted by Grant Foraker on August 17, 2018 at 11:51:44:
I will try to answer your questions:
1) Both the key parameter and the data parameter in stlSet may be constants, simple variables, or expressions:
2) In your example, stlRead returns the data record to variable DATA$. Like a LET statement DATA$ is a simple variable. The record pointer is not advanced. You can do that with stlNext.
3) stlGet is like a traditional keyed READ. In your example DATA$ would have the record data after the stlGet. Not necessary to follow it with stlRead. If you wanted to just get the key data for the current record you'd use stlReadKey.
Post a Followup
Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.