I often use this snippet of code in my main program.
*-- Set Default directory from program directory
lcSys16 = SYS(16)
lcProgram = SUBSTR(lcSys16, AT(":", lcSys16) - 1)
lcDefaDir = LEFT(lcProgram, RAT("\", lcProgram))
SET DEFA TO (lcDefaDir)
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only