Page 1 of 1
put lines 2 to 5 of fld "Choice" into fld "te
Posted: Tue Jan 20, 2009 7:39 am
by ac11ca
Hay there,
Obviously, my code is not working. Could someone please tell me how to copy a selection of lines of data from one field into another?
Cheers,
Ac
Posted: Tue Jan 20, 2009 11:27 am
by Tim
Use line rather than lines
put line 2 to 5 of field "foo" into field "bar"
Posted: Tue Jan 20, 2009 11:31 am
by bn
Hi Ac,
Code: Select all
put line 2 to 3 of field 1 into field 2
works for me. What happened? Did your code compile? If you wrote "put
lines 2 to 3 of field ... then it should not compile because of lines instead of line
regards
bernd
Posted: Wed Jan 21, 2009 5:18 am
by ac11ca
Thanks guys, I was mis-typing "line" as a plural.
Cheers,
Ac
Posted: Wed Jan 21, 2009 4:45 pm
by FourthWorld
This raises an interesting question: given that Transcript aims to mirror English whenever practical, and that "lines" in that context is arguably more syntactically correct than "line", should "lines" be allowed when referring to multiples?
Posted: Wed Jan 21, 2009 4:56 pm
by Klaus
Hi Richard,
on the other hand is "...lines 2 to 3..." really correct english?
I doubt! Translated into german it is definitvely not!
Best
Klaus
Posted: Tue Mar 17, 2009 10:04 pm
by maverickalex
if it was just line 2 and 3 that is gramatically correct in English.
For multiple it would be Lines 2 - 4.
Alex