_STARTDIR$

From QB64 Wiki
Revision as of 03:14, 8 March 2021 by Dkearns (talk | contribs) (Nomalise Availability section text)
(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:
Keyword Reference - Alphabetical
Keyword Reference - By Usage
Main Wiki Page