script edit return constant
Posted: Mon Jan 16, 2012 9:32 am
What is the proper grammar for entering a return constant line break? I am trying to enter variables into a field. I want one line followed by another, therefore it seems return is what I am looking for. I am trying to illustrate the greatest common divisor algorithm. This is what I have so far:
put 673 into m
put 12 into n
--673 and 12 could be any numbers
put m & comma & n into field "Field"
--I want 673,12 to be displayed so the users know what numbers we are finding the greatest common divisor of
put return after item 2 of field "Field"
--so this is the part that is wrong. Whatever I put next just replaces the 673,12 instead of being on the next line.
--then I want to do m mod n to find the remainder and proceed with the algorithm
I hope I explained my issue correctly. Thanks a bunch.
put 673 into m
put 12 into n
--673 and 12 could be any numbers
put m & comma & n into field "Field"
--I want 673,12 to be displayed so the users know what numbers we are finding the greatest common divisor of
put return after item 2 of field "Field"
--so this is the part that is wrong. Whatever I put next just replaces the 673,12 instead of being on the next line.
--then I want to do m mod n to find the remainder and proceed with the algorithm
I hope I explained my issue correctly. Thanks a bunch.