Re: lingo-l joining lists in lingo

2005-04-11 Thread Ozkan ALTUNER
Hello Tim, You can do it by appending list two to list one, by using a loop and getAt(), getPropAt(), addProp() and addAt() methods. repeat with i = 1 to list2.count() addProp(list1, getAt(list2, i) end repeat i'm not exatcly sure of the syntax, however, it clearly should give you an idea.

RE: lingo-l joining lists in lingo

2005-04-11 Thread Tim Welford
Hi, Thanks, that's similar to the method I am using at the moment. I was hoping for some undocumented way of doing a simple join to get rid of the repeat loop and hence improve the efficiency of the code. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of

RE: lingo-l joining lists in lingo

2005-04-11 Thread Martin Pallett
Hi, there was quite an extensive discussion of this on Direct-L a couple of weeks ago - go to http://listserv.uark.edu/scripts/wa.exe?S1=direct-l and search for subject How does one concatenate 2 lists together? HTH cheers, Martin Pallett At 13:48 11/04/2005 +0100, you wrote: Hi, Thanks, that's

Re: lingo-l joining lists in lingo

2005-04-11 Thread Valentin Schmidt
Hi Tim, it won't help you in this situation, but in DMX2004 for javascript there is the concat() function for arrays: var a = Array(1,2,3); var b = Array(4,5,6); trace(a.concat(b)); // 1,2,3,4,5,6 Valentin Tim Welford wrote: Hi, Thanks, that's similar to the method I am using at the

RE: lingo-l joining lists in lingo

2005-04-11 Thread Dam
Hi Tim, maybe this could fit list1 = [1,2,3,4] list2 = [5,6,7,8] --- s1 = string(list1) s2 = string(list2) --- res1 = s1.char[1..s1.length - 1] res2 = s2.char[2..s2.length] --- put value(res1 , res2) -- [1, 2, 3, 4, 5, 6, 7, 8]

Re: lingo-l file in RAM

2005-04-11 Thread Thomas W.J.C. McCrystal
?php @extract($_POST); One thing to be aware of is that there are security implications to using extract(); if you use it (like here) to grab post and get variables, you've essentially returned to a register_globals = TRUE regime. A malicious user could inject suspect data into your

Re: lingo-l joining lists in lingo

2005-04-11 Thread Roger Jones
On Apr 11, 2005, at 8:54 AM, Buzz Kettles wrote: While the below looks good, doing the 2 list-to-string conversions make that approach much slower than repeat-and-append. hth -Buzz Also it would fail with large lists. String to list fails if the list has more than 32768 entries. rj [To remove

Re: lingo-l SES 10 questions

2005-04-11 Thread Alex da Franca
Am 11.04.2005 um 21:36 schrieb Thomas Higgins: Is there a new DOM replacement for 'the systemDate'? Yes, in the form of _system.date(), but it does not offer 1-for-1 functionality. The older 'the systemDate' returned a date object whose properties you could query (year, month, day) whereas the

Re: lingo-l SES 10 questions

2005-04-11 Thread Buzz Kettles
At 10:17 PM +0200 4/11/05, you wrote: the systemdate actually is NOT undocumented AFAIK, it even made its way into the manual. the only thing, which is undocumented since the beginning (dunno why though and can't figure it either) is the VERY useful seconds property of the date object. Not

Re: lingo-l joining lists in lingo

2005-04-11 Thread Buzz Kettles
At 8:17 PM +0200 4/11/05, you wrote: ... and it's dangerous if you want to user other value types than numbers. as an example, try put value( string( [1,2,3,QUOTE] )) Valentin I was going to mention this aspect too, but figured the performance difference was enough of a good enough reason. Many

Re: lingo-l joining lists in lingo

2005-04-11 Thread Alex da Franca
Am 11.04.2005 um 23:42 schrieb Buzz Kettles: I was going to mention this aspect too, but figured the performance difference was enough of a good enough reason. after all I don't quite understand, what is so bad about the little repeat loop. I for one like repeat loops... ;-) if only I could

Re: lingo-l SES 10 questions

2005-04-11 Thread Sean Wilson
Hi Buzz, the systemDate returns a data object and 2 properties of all date objects are .seconds .minutes Unfortunately, (the systemDate).minutes throws an error for me. Has this ever worked, or were you mis-remembering? It would be redundant anyway, as minutes can be calculated from seconds.

Re: lingo-l joining lists in lingo

2005-04-11 Thread Buzz Kettles
At 12:11 AM +0200 4/12/05, you wrote: Am 11.04.2005 um 23:42 schrieb Buzz Kettles: I was going to mention this aspect too, but figured the performance difference was enough of a good enough reason. after all I don't quite understand, what is so bad about the little repeat loop. I for one like

Re: lingo-l SES 10 questions

2005-04-11 Thread Buzz Kettles
At 12:11 AM +0200 4/12/05, you wrote: Am 11.04.2005 um 23:36 schrieb Buzz Kettles: What's 'left out' is that since the systemDate returns a data object and 2 properties of all date objects are .seconds .minutes that therefore (the systemDate).seconds (the systemDate).minutes are included

lingo-l OT: Printing from Powerpoint .PPS

2005-04-11 Thread Elvin Certeza
Hello List, I know this is off topic. But is there a chance where I can print from a PowerPoint Presentation slideshow?. extension .PPS?? thanks. [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email