About $add re lists
Adds variables from the current record buffer to your list in the SAME ORDER as they are defined. in this case Var1 and var2
you cannot use the entire file
however, you can specify different variables or constants or calculations or functions. if you dop not specify a variable, it will take the value from the CRB
# adds var1=1 and var2=2 (in the list)
# adds var1=list.xxx and var2=list.yyy
# adds var1=upp(list.xxx) and var 2 becomes the current record buffer copy of var3
# adds var1=value of pick statment, and var 2 becomes the current record buffer copy of var3
Do cvChartStylesList.$add(pick(1=1,’Value if False’,’Value if true’)))
# adds var 1 as crb value of var1 and var2 = 6. you can use ,,,,, to let the $add take the CRB value rather that a specific value
hope that makes sense. Thats how we’ve used it in the past.
> On January 27, 2021, at 11:00 AM, Das Goravani <email@example.com> wrote:
> I have this line of code
> Do cvChartStylesList.$add()
> My question is this: It says in the online help to put the column values in the parenthesis but in this case there are too many fields to list.. it is a whole file, all columns, about 200..
> If you leave it blank does it add all the fields specified in the $define statement, which in this case is a whole file so I just put the file name in the define statement
> Should I put the file name in the $add statement too, in quotes.. does that work
> Or should I leave it blank?
> Manage your list subscriptions at lists.omnis-dev.com
> Start a new message -> mailto:firstname.lastname@example.org