mirror of
https://github.com/QB64Official/qb64.git
synced 2024-08-31 00:40:17 +00:00
29 lines
603 B
Text
29 lines
603 B
Text
|
{{DISPLAYTITLE:_STARTDIR$}}
|
||
|
The '''_STARTDIR$''' function returns the path a user called a QB64 program from.
|
||
|
|
||
|
{{PageSyntax}}
|
||
|
::: callpath$ = '''_STARTDIR$'''
|
||
|
|
||
|
|
||
|
{{PageDescription}}
|
||
|
* Returns a [[STRING]] representing the user's program calling path.
|
||
|
* Available in GL version as of March 2015.
|
||
|
|
||
|
|
||
|
''Example:'' New QB64 path functions:
|
||
|
{{CodeStart}} '' ''
|
||
|
{{Cl|$CONSOLE}}:ONLY
|
||
|
{{Cl|_DEST}} {{Cl|_CONSOLE}}
|
||
|
{{Cl|SHELL}} "cd"
|
||
|
{{Cl|PRINT}} {{Cl|_CWD$}}
|
||
|
{{Cl|PRINT}} {{Cl|_STARTDIR$}}
|
||
|
{{Cl|SYSTEM}}
|
||
|
{{CodeEnd}}{{small|Code by Galleon}}
|
||
|
|
||
|
|
||
|
{{PageSeeAlso}}
|
||
|
* [[_CWD$]]
|
||
|
* [[SHELL]]
|
||
|
|
||
|
|
||
|
{{PageNavigation}}
|