adding fields

Bill Marriott wjm at wjm.org
Wed Jan 10 11:24:03 EST 2007


Rob,

> Is there a way to add fields based on a number entered in a field
> such as

Absolutely. The command is "create"

as in

create field myLabel

or

create field
set the name of it to myLabel

However, beware of a potential gotcha in that naming a field -- or any 
object in Rev -- with just a number can result in unpredictable results, 
since you will create an ambiguity about whether you are referring to field 
#3 or the field NAMED "3" -- best to start all object names with at least 
one alpha character. 






More information about the use-livecode mailing list