Thanks for your comments Jacqueline & Thierry, very useful to know.
Cheers,
Eoghan.
Search found 6 matches
- Mon Apr 07, 2014 2:46 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Count on 'if' control structure's lazy evaluation?
- Replies: 8
- Views: 4889
- Sat Apr 05, 2014 7:43 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Count on 'if' control structure's lazy evaluation?
- Replies: 8
- Views: 4889
Re: Count on 'if' control structure's lazy evaluation?
Excellent, thanks Klaus!
Cheers,
Eoghan.
Cheers,
Eoghan.
- Sat Apr 05, 2014 6:11 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Count on 'if' control structure's lazy evaluation?
- Replies: 8
- Views: 4889
Re: Count on 'if' control structure's lazy evaluation?
Hi Klaus, When I was studying Comp Sci (nearly 20 years ago ...), they always said that the following code was the "Wally trap": if (tMyArray is not empty) and (tMyArray[tMyKey] is not empty) then They told us to test each part of that 'if' statement separately, in case we came across a programming ...
- Sat Apr 05, 2014 5:49 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Count on 'if' control structure's lazy evaluation?
- Replies: 8
- Views: 4889
Count on 'if' control structure's lazy evaluation?
Hi everyone - sorry if this is a very basic question, but I wondered if there's an official position on this. Can we count on LiveCode's 'if' control structure always doing lazy evaluation? ... or would the following code be bad practice? if (tMyArray is not empty) and (tMyArray[tMyKey] is not empty...
- Mon Mar 31, 2014 8:05 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: 'copy card' without going to it? [Workaround found]
- Replies: 5
- Views: 3803
Re: 'copy card' without going to it?
Fantastic!
Thanks Dixie, Klaus & Craig, for the very speedy replies - a few things I can try out there.
And, yup - I think 'oush' would be a great command to add to LiveCode! Just need to think of a definition ... 'push' for very heavy cards?
Thanks,
Eoghan.
Thanks Dixie, Klaus & Craig, for the very speedy replies - a few things I can try out there.
And, yup - I think 'oush' would be a great command to add to LiveCode! Just need to think of a definition ... 'push' for very heavy cards?
Thanks,
Eoghan.
- Mon Mar 31, 2014 4:42 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: 'copy card' without going to it? [Workaround found]
- Replies: 5
- Views: 3803
'copy card' without going to it? [Workaround found]
Hi, I'm using 'copy card x of stack y to this stack' to copy a cached card of a substack of my app, to the main stack. Is there any way to execute the above command without LiveCode then automatically displaying the copied card x? (as I want the initial card to remain on display) I can add code to s...