STARTDIR$: Difference between revisions

From QB64 Phoenix Edition Wiki
Jump to navigation Jump to search
(Created page with "{{DISPLAYTITLE:_STARTDIR$}} The _STARTDIR$ function returns the path a user called a QB64 program from. {{PageSyntax}} : {{Parameter|callPath$}} = _STARTDIR$ {{PageDescription}} * Returns a STRING representing the user's program calling path. ==Availability== * '''Version 1.000 and up'''. {{PageExamples}} ''Example:'' Showcasing QB64 path functions: {{CodeStart}} '' '' {{Cl|$CONSOLE}}:ONLY {{Cl|_DEST}} {{Cl|_CONSOLE}} {{Cl|SHELL}} "cd" {{Cl|PRINT}} {{C...")
 
No edit summary
Line 10: Line 10:




==Availability==
{{PageAvailability}}
* '''Version 1.000 and up'''.
* '''QB64 1.0 and up''' (QB64 Team)
* '''QBPE 0.5 and up''' (QB64 Phoenix Edition)





Revision as of 23:05, 29 April 2022

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 1.0 and up (QB64 Team)
  • QBPE 0.5 and up (QB64 Phoenix Edition)


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
Report a broken link