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
 ErrorProc

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
compagnon@1 Posted - 11/01/2002 : 11:24:29 AM
For data acquisition I execute a script after each DDE transfer (from visualC++ to Origin). If an error occurs in the execution of the script, I want to abort and wait for the next data transfer.
My questions are:
1)Where I have to define the ErrorProc macro ? (only one time ? or before each execution of the script ? or inside the script ?)
2)When does the definition is deleted ? (after each execution of the script? after an error ?)

Thank you for your help
Isabelle

1   L A T E S T    R E P L I E S    (Newest First)
cpyang Posted - 11/01/2002 : 8:03:41 PM
ErrorProc is always self destructed, so it is always deleted after it is invoked, so
1) before each execution of script, best as 1st statement in your script.
2) after an error

CP



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