Delete function

What would you like to see in CSPro?
Post Reply
AriSilva
Posts: 618
Joined: July 22nd, 2016, 3:55 pm

Delete function

Post by AriSilva »

The documentation says that you can delete several things, including a record that occurs, like
delete (person(i));
The problem is that the documentation does not mention that the name you have to use IS NOT the name in the dictionary, but the name that is shown in the field tree.
For example, the record name in the dictionary is PERSON, but in the the program it might be PERSON_EDT.
So, if you write
delete (person(i));
you get a compiler message saying that you have to use a record name.
Well, PERSON is a record name.
So, my suggestion, besides clarifying this issue in the help, would be accepting also the record name as it is shown in the dictionary, because, in a sense, you are deleting a record from the dictionary file.
Best
Ari
Best
Ari
Post Reply