Page 1 of 1

List word

Posted: February 25th, 2019, 7:58 am
by AriSilva
Hi folks,
I´m starting to use 7.2, looking into the new features, and so far I liked them very much, congratulations and thanks from the user´s community.
However, the "What´s new in 7.2" has an entry about declaring array, list and file locally. The word list seems to be a reserved word (is in blue), but I did not find any reference to it in the Help.
Trying to use the "list" word in the logic it is shown in blue, but highlighting it and pressing F1 does not show any topic about it.
What does the list do?
Best
Ari

Re: List word

Posted: February 25th, 2019, 9:00 am
by AriSilva
Another issue that I did not find in the help:
What do you mean by "PFF´s CommonStore" in the CSEntry Settings Modification help?
Best
Ari

Re: List word

Posted: February 25th, 2019, 10:41 am
by Gregory Martin
List has been in the language for a while (see the dirlist and keylist functions). It's basically a one-dimensional array without a fixed dimension size. However, for now it's always been read only, with values retrieved from those functions. For 7.3, the object will actually be something you can work with, and then you'll see proper documentation on it.

The CommonStore is the file that saves the settings that are used by the loadsetting/savesetting functions:

http://www.csprousers.org/help/CSPro/lo ... ction.html

You can use a default one, or you can define your own by specifying a filename in your PFF:

http://www.csprousers.org/help/CSPro/ru ... entry.html