[on-rev]Line endings for a db query

Pete pete at mollysrevenge.com
Mon Apr 2 11:34:49 EDT 2012


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" <pete at 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" <mkoob at 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 at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>>



More information about the use-livecode mailing list