STARTDIR$: Difference between revisions

From QB64 Phoenix Edition Wiki
Jump to navigation Jump to search
m (Removed protection from "STARTDIR$")
No edit summary
Line 11: Line 11:


{{PageAvailability}}
{{PageAvailability}}
* '''QB64 1.0 and up''' (QB64 Team)
* '''QB64 v1.0 and up'''
* '''QBPE 0.5 and up''' (QB64 Phoenix Edition)
* '''QB64-PE all versions'''





Revision as of 00:11, 11 January 2023

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 v1.0 and up
  • QB64-PE all versions


Examples

Example: Showcasing QB64 path functions:

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


See also



Navigation:
Main Page with Articles and Tutorials
Keyword Reference - Alphabetical
Keyword Reference - By usage