¿ªÔÆÌåÓý

Re: Date Sets


 

Or you might be getting confused by the help file.
If you use DSCreate to make PntLst2 a dataset variable without the field
"Power" then you *cannot* add the field "Power" later on with DSAdd or DSAddNR.

A tricky bit is that if you try to do so with DSAdd, you get the error "Field not found in call to 'DSAdd'" But if you try to do so with DSAddNR, it fails silently, and you only see the error later on when you use DSGet on that field.

Erol K. Bayburt
ErolB1@...

On 4/4/2020 9:17 PM, scott@... wrote:
Are there characters not allowed in the value of a data set?
*From:* [email protected] <[email protected]> *On Behalf Of *scott@...
*Sent:* Friday, April 3, 2020 22:30
*To:* [email protected]
*Subject:* [TableSmith] Date Sets
Hey folks,
?????????????? A question about data sets. I am generating various stuff from a table group, variables, dice rolls, and a line or two of data. My question is this: Is there a limit to what a dataset value can hold or get from a table/group that is called in get statement?
_{Loop~%lp%,{DSAddNR~PntLst2,Power,[PotionCreator.ShopCall]} %CntI%. {DSGet~PntLst2,%CntI%,Power} |CntI={Calc~%CntI%+1}|. {CR~}{Line~center,}}
Error:
***ERROR on line 24 of table 'Potion Shop' - Field not found in call to 'DSGet': 'Power'. ***
If so, what are the limitations?
Scott

Join [email protected] to automatically receive all group messages.