_STARTDIR$

From QB64 Wiki
Revision as of 17:03, 9 September 2017 by imported>SMcNeill (style guidelines)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

  • Version 1.000 and up.


Examples

Example: Showcasing QB64 path functions:

$CONSOLE:ONLY _DEST _CONSOLE SHELL "cd" PRINT _CWD$ PRINT _STARTDIR$ SYSTEM

Code by Galleon


See also



Navigation:
Go to Keyword Reference - Alphabetical
Go to Keyword Reference - By usage
Go to Main WIKI Page