Try if tvar is empty then put stuff into tvar else put return & stuff after tvar end ig On Apr 2, 2012 8:13 AM, "Pete Haworth" <p...@haworths.org> wrote:
> Line delimiters are squirly! Try this pseudo code: > > if tvar is empty then > Put stuff into tvar > else > put return & stuff after tvar > end if > > If you can tell its the fitst time thru your loop, you can check for that > instead of tvar empty. > > Pete > On Apr 2, 2012 7:49 AM, "Martin Koob" <mk...@rogers.com> wrote: > >> Actually I typed too soon. >> >> adding a LF or a return after tSamplesList variable then deleting the last >> line actually deletes the last record from the query in the tSamplesList >> variable. >> >> Back to square one. >> >> Martin >> >> >> -- >> View this message in context: >> http://runtime-revolution.278305.n4.nabble.com/on-rev-Line-endings-for-a-db-query-tp4526068p4526238.html >> Sent from the Revolution - User mailing list archive at Nabble.com. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode@lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode