_STARTDIR$ - QB64 Wiki

_STARTDIR$

From QB64 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.
  • Available in GL version as of March 2015.


Example: New 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
Views
  • Page
  • Discussion
  • View source
  • History
Personal tools
  • Log in
Toolbox
  • What links here
  • Related changes
  • Special pages
  • Printable version