Quantcast
Channel: VFPX
Viewing all articles
Browse latest Browse all 3798

Closed Issue: VFP 9 SP2 Help File - SYS(16) in Help file [30585]

$
0
0
Description for SYS(16) includes this:
 
SYS(16) is similar to PROGRAM( ) except that SYS(16) returns a path with the program name. When the executing program is part of an application (.app), SYS(16) returns only the name of the program, that is, without the path. SYS(16) returns the name of the executable file if called from an executable (.exe) file; whereas PROGRAM( ) returns just the program name. If a procedure or function is being executed, SYS(16) returns the name of the file containing the procedure or function after the procedure or function name.
 
The statement 'When the executing program is part of an application (.app), SYS(16) returns only the name of the program, that is, without the path.' is somewhat misleading. The full name, including the path, is in fact returned for the APP file, even if it is not returned for any of the programs executing within the APP.

Viewing all articles
Browse latest Browse all 3798

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>