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
 size of the window script

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
vertez Posted - 12/12/2012 : 09:48:26 AM
Origin 9 64 bit, Windows 7 Ultimate

Hi,
I have a problem with the size of the script. I've just created very big script in labtalk. It is work only in pieces. I didn't know that the script window was limited. The script stop working when it went to final line.I figured out that If I couldn't make it works as it should be I divided it for small parts and used something like that: run c:\folder\second part.ogs. I thought it would help to resolve my problem but unfortunately it didn't work. The problem isn't a path. I don't know what's going on. Script crashed anyway. The Script works only separately. How to make it work?
2   L A T E S T    R E P L I E S    (Newest First)
vertez Posted - 12/17/2012 : 5:39:16 PM
Finally, everything works perfectly. Thanks Greg
greg Posted - 12/17/2012 : 3:40:36 PM
There are limits to the size of script between { and } or selected for running in a Script Window. See
http://www.originlab.com/www/support/resultstech.aspx?ID=163&language=English&Version=All

As your script gets large, you should move them to external OGS files saved in your User Files Folder. These are text files broken into sections with
[SectionName]
much like INI files. You can call a section of an OGS with
run.section(FileName, SectionName);
If the section exists in the same file, you can omit FileName:
run.section(,SectionName);
An external OGS has the added advantage of being loadable in Code Builder along with ability to add break points and debug.

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