Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
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.