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
 All Forums
 Origin Forum for Programming
 LabTalk Forum
 labtalk script file size limitation

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
couturier Posted - 06/03/2003 : 03:24:23 AM
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 ?

1   L A T E S T    R E P L I E S    (Newest First)
Mike Posted - 06/03/2003 : 11:28:13 AM
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

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000