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
 Exist (macro) returns wrong value

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
peter.cook Posted - 03/01/2002 : 10:22:31 AM
Hi,

Exist(macroname) returns 8 if the macro exists (loaded) rather than the 6 stated in the documentation. Is this a bug or is the documentation for version 6 and 6.1 wrong? What should all the other values be?

This is very useful as we have a large customised application and with this feature I can enable project specific code to be inserted to the core application routinely.

Cheers,

Pete
4   L A T E S T    R E P L I E S    (Newest First)
Hideo Fujii Posted - 11/09/2004 : 10:19:15 AM
Hi Pete,

I assure that this erratum will be fixed in the next publication of the LabTalk documentation.
Sorry for the inconvenience.

Hideo Fujii
OriginLab

peter.cook Posted - 11/03/2004 : 06:14:05 AM
Hi,

Documentation (7.5 SR4) still incorrect.

Cheers,

Pete

Laurie Posted - 03/01/2002 : 5:36:17 PM
I verified that it is just the documentation that is wrong. It used to return 6, but we changed this to 8 in 1995. The return value of 6 is now only used internally. All other return values should be correct as documented.

We'll update our documentation...looks like this one has slipped through for some time.

Laurie

OriginLab Technical Support
Mike Buess Posted - 03/01/2002 : 10:39:57 AM
Your right... I hadn't noticed that before. I'm also not sure whether it's a bug or documentation error. In either case it would probably be easier just to change the documentation.

Mike Buess
Origin WebRing Member

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