1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-03 13:31:23 +00:00
QB64-PE/internal/help/_STARTDIR$.txt

33 lines
640 B
Plaintext
Raw Normal View History

2016-03-18 11:36:04 +00:00
{{DISPLAYTITLE:_STARTDIR$}}
2017-10-10 14:55:21 +00:00
The [[_STARTDIR$]] function returns the path a user called a QB64 program from.
2016-03-18 11:36:04 +00:00
{{PageSyntax}}
2017-10-10 14:55:21 +00:00
: {{Parameter|callPath$}} = [[_STARTDIR$]]
2016-03-18 11:36:04 +00:00
{{PageDescription}}
* Returns a [[STRING]] representing the user's program calling path.
2017-10-10 14:55:21 +00:00
==Availability==
* '''Version 1.000 and up'''.
{{PageExamples}}
''Example:'' Showcasing QB64 path functions:
2016-03-18 11:36:04 +00:00
{{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}}