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
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 LabTalk Forum
 Exist (macro) returns wrong value
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

peter.cook

UK
356 Posts

Posted - 03/01/2002 :  10:22:31 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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

Mike Buess

USA
3037 Posts

Posted - 03/01/2002 :  10:39:57 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page

Laurie

USA
404 Posts

Posted - 03/01/2002 :  5:36:17 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page

peter.cook

UK
356 Posts

Posted - 11/03/2004 :  06:14:05 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

Documentation (7.5 SR4) still incorrect.

Cheers,

Pete

Go to Top of Page

Hideo Fujii

USA
1582 Posts

Posted - 11/09/2004 :  10:19:15 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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

Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000