Search found 21 matches
- Wed Sep 04, 2013 3:58 pm
- Forum: CGIs and the Server
- Topic: Desktop IDE for server scripts
- Replies: 8
- Views: 9241
Re: Desktop IDE for server scripts
I use the great framework revigniter to develop and deploy livecode applications. This framework is developed and maintained by Ralf Bitter. In addition, Ralf offers a TextMate bundle for livecode http://revigniter.com/accessory. I personally use sublimetext editor (http://www.sublimetext.com) in wh...
- Wed Jun 06, 2012 7:53 pm
- Forum: Talking LiveCode
- Topic: recursion limit
- Replies: 18
- Views: 13561
Re: recursion limit
GREAT! Thanks again!
Best regards
Jörg
Best regards
Jörg
- Wed Jun 06, 2012 7:22 pm
- Forum: Talking LiveCode
- Topic: recursion limit
- Replies: 18
- Views: 13561
Re: recursion limit
Hi mwieder,
YOU ARE GREAT!!! THIS IS ACTUALLY THE SOLUTION!!! Maybe you can explain why?
THANKS TO DIXIE TOO! I think you meant the same with your solution --wait 0 milliseconds
Best
Jörg
YOU ARE GREAT!!! THIS IS ACTUALLY THE SOLUTION!!! Maybe you can explain why?
THANKS TO DIXIE TOO! I think you meant the same with your solution --wait 0 milliseconds
Best
Jörg
- Wed Jun 06, 2012 6:16 pm
- Forum: Talking LiveCode
- Topic: recursion limit
- Replies: 18
- Views: 13561
Re: recursion limit
Hi mwieder, thanks for your hint. Unfortunately it also doesn't work. I always get the same error message. In the meantime I think, a high level of recursion is not possible with Livecode. I think, the suggestion of Dixie, to eliminate recursion e.g. by using repeat loops is the best, maybe the only...
- Wed Jun 06, 2012 5:40 pm
- Forum: Talking LiveCode
- Topic: recursion limit
- Replies: 18
- Views: 13561
Re: recursion limit
Hi Klaus,
thank you
Best
Jörg
thank you
Best
Jörg
- Wed Jun 06, 2012 4:45 pm
- Forum: Talking LiveCode
- Topic: recursion limit
- Replies: 18
- Views: 13561
Re: recursion limit
Hi Klaus, thx for your hint. To give it a try I set the recursionLimit to 1000000 and increased the recursion to 10000 (please look at the code below). Then I got the error message again, just with the message that the handler has reached the recursion limit of: 983040 More over, it has no more impa...
- Wed Jun 06, 2012 12:15 pm
- Forum: Talking LiveCode
- Topic: recursion limit
- Replies: 18
- Views: 13561
Re: recursion limit
By the way you also get the message error when you call one handler from another in recursion. Example: local sRecursionLoop on mouseUp put 1000 into sRecursionLoop executeSimulation end mouseUp on executeSimulation if sRecursionLoop > 0 then handleEventlist else answer "finished" end if end execute...
- Wed Jun 06, 2012 12:00 pm
- Forum: Talking LiveCode
- Topic: recursion limit
- Replies: 18
- Views: 13561
Re: recursion limit
Hi Dixie, yes, you are absolutely right. Your code works but you have eliminated the recursion - but I need recursion (call the same handler from within the handler), e.g. for a sort algorithm or to generate a distribution of random numbers. That is what I have demontrated with: if sRecursionLoop > ...
- Wed Jun 06, 2012 11:37 am
- Forum: Talking LiveCode
- Topic: recursion limit
- Replies: 18
- Views: 13561
Re: recursion limit
Hi Dixie,
unfortunately not because on one hand the simulation should run as fast as possible and shouldn't be delayed and on the other hand the error is still there if you use 'send in time'.
Joerg
unfortunately not because on one hand the simulation should run as fast as possible and shouldn't be delayed and on the other hand the error is still there if you use 'send in time'.
Joerg
- Wed Jun 06, 2012 11:09 am
- Forum: Talking LiveCode
- Topic: recursion limit
- Replies: 18
- Views: 13561
recursion limit
Hi! I am developing a discrete event simulation. Therefore is necessary to recursively call some handler as long as the future event list is not empty. However it is not possible to do this seriously because I permanently get the following error message although I do not reach 400000 recursions: The...
- Fri Feb 19, 2010 5:37 pm
- Forum: Mac OS
- Topic: Apps deployed for mac os x do not start
- Replies: 9
- Views: 6094
Re: Apps deployed for mac os x do not start
Hi Klaus,
yes of course I will change the severity!
Auch ein schönes Wochenende!
regards
Jörg
yes of course I will change the severity!
Auch ein schönes Wochenende!
regards
Jörg
- Fri Feb 19, 2010 10:27 am
- Forum: Talking LiveCode
- Topic: Validate a field content if it is a date
- Replies: 21
- Views: 13783
Re: Validate a field content if it is a date
Thanks to all! I think I will spend a bit of time to try the stacks. BvG, I think you are absolutely right with your suggestion that there should be a central repository. It would help definitely everybody! Craig, your "date-check", the combination of ... is a date ... and ... is not an integer ... ...
- Thu Feb 18, 2010 9:48 pm
- Forum: Talking LiveCode
- Topic: Validate a field content if it is a date
- Replies: 21
- Views: 13783
Re: Validate a field content if it is a date
Obviously I have misunderstood the "is a date" check. Thank you very much for your example. I think I will go with it. Although, using a calendar entry widget would maybe be the better alternative. Would it be possible for you to post a link of such a control because my search within revOnline Sampl...
- Thu Feb 18, 2010 9:37 pm
- Forum: Talking LiveCode
- Topic: How can I make a line break within a string in code
- Replies: 3
- Views: 4360
Re: How can I make a line break within a string in code
Hi Bernd,
thank you very much for the quick and competent answer!!!! You made my evening!!!
best regards
Jörg
thank you very much for the quick and competent answer!!!! You made my evening!!!
best regards
Jörg
- Thu Feb 18, 2010 9:11 pm
- Forum: Talking LiveCode
- Topic: How can I make a line break within a string in code
- Replies: 3
- Views: 4360
How can I make a line break within a string in code
Hi again, I have a line of code where I have long SQL string and I'd like to make a line break within the string because of the better legibility of the code. The code looks like this one: put "SELECT thisColumn, thatColumn, THERE SHOULD BE THE LINE BREAK "FROM tblTable" into tList I have tried a ba...