1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-03 17:01:21 +00:00
QB64-PE/internal/help/_STARTDIR$.txt
2021-04-25 19:40:25 -03:00

34 lines
629 B
Plaintext

{{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.
{{PageAvailability}}
* Version 1.000 and up.
{{PageExamples}}
''Example:'' Showcasing 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}}