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 function

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
Mike Buess Posted - 03/30/2001 : 07:06:22 AM
The Origin 6.1 SR1 release notes state that exist(filename,n) will return the version number or date of a dll file depending on the argument 'n'. (According to the note 'n' should be 1-5.) I'm using SR2 and exist(%YAny.dll,n) just gives me the file size of Any.dll regardless of the value of n. Was this usage of the exist() function broken in SR2 or am I using it incorrectly myself?

-Mike
1   L A T E S T    R E P L I E S    (Newest First)
greg Posted - 03/30/2001 : 12:55:40 PM
Oops!

This is a case of a specification getting copied to a release note without a reality check. The actual work done was to make sure developers of OPK tools could check to see if a file exists (in which case the function returns the file size in kilobytes) or not (in which case the function returns -1). This is the only feature that has been implemented as of 6.1.

The part in the specification about version and date was moved to a new specification for a more general means of getting information about files. Look for this in a future version of Origin.

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