_STARTDIR$

From QB64.org wiki
Jump to: navigation, 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