Comand Format

Hello
I am translating my Toolbook OpenScript books in Action Editor using PowePac. I have two problems:
How do I translate the following OpenScript code:
step i from 1 to n
text of field ("a" & i) = var (i)
end step
You have to consider that the book contains many examples of this type, so it is very hard to use the classic statement:
Set text of field "a1" to var [1]
……………….
..........
........
The second problem relates to the formatting of numeric quantities. There is a format command in PowerPac?
Thanks
Umberto Santori
I am translating my Toolbook OpenScript books in Action Editor using PowePac. I have two problems:
How do I translate the following OpenScript code:
step i from 1 to n
text of field ("a" & i) = var (i)
end step
You have to consider that the book contains many examples of this type, so it is very hard to use the classic statement:
Set text of field "a1" to var [1]
……………….
..........
........
The second problem relates to the formatting of numeric quantities. There is a format command in PowerPac?
Thanks
Umberto Santori