I have some code that is working but that I think should fail :
The following snip is being run from stack "A", it creates a new card in a second stack and adds a field to it. Next it changes some of the field properties. What I don't understand is why I don't seem to have to enter the "of stack "SecondStack" to the references to the field.
Code: Select all
/* Create a new card in the stack UT_Documentation to hold documentation */
Create card tNameOfControl in stack "UT_Documentation"
lock screen
go to card tNameOfControl of stack "UT_Documentation"
create field "ControlName" in card tNameOfControl
set the width of field "ControlName" to 350
set the loc of field "ControlName" to 200,30
set the textsize of field "ControlName" to 15
set the textstyle of field "ControlName" to "bold"
put tNameOfControl into field "ControlName" of card tNameOfControl of stack "UT_Documentation"