repeat with n=1 to 64
  get short name of fld n
  put char 1 of it into x -- x is a letter and we need to switch it to a 
number
  put charToNum(x) - 64 into x -- assuming you are using capital letters: 
A=1, B=2
  put char 2 of it into y

  -- build the transcript instruction so that from Rev's vantage point it is 
formatted right
  put "put fld" && n && "into array["& x &comma& y &"]" into 
transcriptInstruction
  do transcriptInstruction -- 'do' is a transcript command, see docs
end repeat

In a message dated 8/24/03 10:20:07 AM, 
[EMAIL PROTECTED] writes:
> I have made a 8x8 grid with fields ... named ... (A1, B1.. A2, B2..) and I 
want to ...
> repeat with n=1 to 64
>    put fld n into ("array"&char 1 of the short name of  fld n)[char 2 of 
the short name of  fld n]
> end repeat
_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to