The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 LabTalk Forum
 Maximum script length
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

tom3m

USA
27 Posts

Posted - 02/08/2002 :  11:28:52 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
I am getting error messages that state something about a script executed in a loop being too long. Is there a maximum script length? Or am I running into a memory leek or something?

Thanks!

Mike Buess

USA
3037 Posts

Posted - 02/08/2002 :  12:55:15 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
See this Knowledge Base entry.

Mike Buess
Origin WebRing Member
Go to Top of Page

tom3m

USA
27 Posts

Posted - 02/08/2002 :  2:16:15 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thanks. Happily in my case I am a verbose comment writer so my immediate problem is fixed by making comments more terse. It shouldn't be too much trouble to simplify some things using subprograms, too.
Go to Top of Page

tom3m

USA
27 Posts

Posted - 02/08/2002 :  6:12:37 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Or does the interpreter strip comments from the input script before it does anything else. If I wrote the code, that is what I would do so maybe origin does that?
Go to Top of Page

cpyang

USA
1406 Posts

Posted - 02/16/2002 :  12:57:59 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
A labtalk script is first broken down into sentences separated by ';' and then each sentence was stripped off comments and fed into the interpreter. The problem is that the code was written 10 years ago and have been patched over and over again so that we have finally decided best not touch it.

Origin 7.0 introduces Origin C, so all these limitations are gone.

CP, Originlab


Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000