
Click above to get retro games delivered to your door ever month!
X-Hacker.org- dBsee 4.6 - The Library - Norton Guide
[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Allows to insert the code of the logical path for the file. This code
(from 1 to 99) allows to identify the directory in which the file and its
relative indexes are found.
The decodification of the logical path of the file is found within
DBSTART.INI in the EXE subdirectory of the application currently being
developed. Inside this file, under section [path], the UserPath
parameter can be set to evaluate the logical file path.
The UserPath can also be evaluated with a variable name preceeded by the @
character instead of a directory name. This will allow to set the final
user path as a parametrised value, making it depend on a particular
management.
Example:
The Logical file path of the currently highlighted file has been
associated a value of 1, and the dBstart.INI file contains the following
expression:
UserPath01=@cPath
In this case, when opening the file, the path contained in the cPath
variable defined PRIVATE in top of the MENU.PRG file will say where the
files will be opened.
MEMVAR cPath
PRIVATE cPath
cPath := "C:\MYDIR"
The privately declared variable's scoping is application-wide, and can
therefore be reassigned in any part of the program.
Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson