STARTDIR$: Difference between revisions
Jump to navigation
Jump to search
Code by Galleon
Navigation:
Main Page with Articles and Tutorials
Keyword Reference - Alphabetical
Keyword Reference - By usage
Report a broken link
m (Protected "STARTDIR$" ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite))) |
m (Removed protection from "STARTDIR$") |
(No difference)
|
Revision as of 21:34, 1 June 2022
The _STARTDIR$ function returns the path a user called a QB64 program from.
Syntax
- callPath$ = _STARTDIR$
Description
- Returns a STRING representing the user's program calling path.
Availability
- QB64 1.0 and up (QB64 Team)
- QBPE 0.5 and up (QB64 Phoenix Edition)
Examples
Example: Showcasing QB64 path functions:
$CONSOLE:ONLY _DEST _CONSOLE SHELL "cd" PRINT _CWD$ PRINT _STARTDIR$ SYSTEM |
See also