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
 labtalk script file size limitation
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

couturier

France
291 Posts

Posted - 06/03/2003 :  03:24:23 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
I've red somewhere (don't remember where) that there was a file size limitation in labtalk script. Can someone tell me what this file size is ?

Mike

USA
357 Posts

Posted - 06/03/2003 :  11:28:13 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
There is no limit to the length of your LabTalk script. Perhaps you recall reading that there is a limit to the number of tokens that can be included between curly braces { }. This is from the LabTalk Help file (Help:Programming>LabTalk Language Reference), under the topic "Extending a Statement Over Multiple Lines":
quote:
"There is a limit to the number of tokens that can be included between a set of braces {}. The tokens between the {} in a LabTalk script are translated internally and the translated tokens must be less than 1140 bytes (after substitution). In place of long blocks of LabTalk code, programmers can use LabTalk macros or the run.section() and run.file() object methods."


I hope that this is helpful to you.

Mike Genthner
OriginLab Corporation
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