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
 Script window echoes all commands

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
andreas1 Posted - 03/19/2002 : 07:58:23 AM
Hi,

suddenly the script window started echoing all executed commands. For example when closing a project it echoes all Origin labtalk commands executed. Or when I execute a script using run.section it echoes all executed script lines.

Any ideas how to turn that off (and on again in case I ever want to see what origin does) ?

Thanks,

Andreas

3   L A T E S T    R E P L I E S    (Newest First)
Mike Buess Posted - 03/20/2002 : 12:50:07 PM
Hi Andreas,

I'd start by opening the script files that are in use when this happens in a text editor and searching for the word "echo". (CodeBuilder works great for searching if you have Origin 7.0.) Perhaps you used the word in a comment and the comment identifer was removed by mistake. Or maybe you used echo as a variable name.

If nothing surfaces along that line I'd look closely for labtalk command statements that don't end with a semicolon. Missing semicolons can often produce unpredictable results.

If the reason is still not apparent and you're scripts are relatively short, you can post or provide a link to them here and maybe one of us will spot the problem.

Mike Buess
Origin WebRing Member
andreas1 Posted - 03/20/2002 : 09:58:34 AM
Thanks for the hint. Unfortunately typing echo=0 in the script window does not help.

The echoing just starts at some point in time by itself (without me knowingly telling it to do so) and then does not want to go away.

Any further ideas ?

Thanks,

Andreas

H.Steen Posted - 03/19/2002 : 08:58:44 AM
The system variable ECHO controls this. From the Origin help system (ver 6.1) I have copied the following text (searched index using 'echo') :

"You can change the value of the echo variable to instruct Origin to echo different types of scripts to the Script window. For example, you can set echo=1 to show any script that generates an error, or set echo=7 to display all scripts that are executed. During normal operation, echo=0."

To change the echo variable open the script window and and just type

Echo=7 (enter)

((enter) means press the enter-key) and the value is set, or you can change it during a script so you can see only the part of the code you like.


Helge






Edited by - H.Steen on 03/19/2002 09:04:15

Edited by - H.Steen on 03/19/2002 09:04:48

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