times is regarded as a reserved keyword
repeat 5 times...
as a rule of thumb, any "assigned" name or font name or field name
should be in quotes...
Corollary, any dynamic script such as
do "put x into fld" && fieldname
should enclose the fieldname in quotes for security in case, for example,
that fieldname happen to be a reserved keyword...
have you tried a different font?
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Carsten Levin
Sent: Saturday, March 17, 2001 14:06
To: [EMAIL PROTECTED]
Subject: Script with container, whats wrong
Hello,
I want to change 14 fields on one page from one font to another font. And I
want to do it with a repetition, instead of having 14 scriptlines.
The fields are named field1, field2 etc.
on changefont
put 0 into mycounter
repeat until mycounter is 14
set the textfont of field ("field"&mycounter) of card mycard to times
add 1 to mycounter
end repeat
end changefont
Tried with and without quotation marks and with and without brackets.
But it doesnt work. Any advise?
Best regards
Carsten Levin, Denmark
Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.
Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.