List word

Other discussions about CSPro
Forum rules
New release: CSPro 8.0
Post Reply
AriSilva
Posts: 591
Joined: July 22nd, 2016, 3:55 pm

List word

Post 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
Best
Ari
AriSilva
Posts: 591
Joined: July 22nd, 2016, 3:55 pm

Re: List word

Post 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
Best
Ari
Gregory Martin
Posts: 1777
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: List word

Post 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
Post Reply