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

35 lines
633 B
Plaintext
Raw Normal View History

2016-03-18 11:36:04 +00:00
{{DISPLAYTITLE:_STARTDIR$}}
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.
2016-03-18 11:36:04 +00:00
==Availability==
* '''Version 1.000 and up'''.
2017-10-10 14:55:21 +00:00
{{PageExamples}}
''Example:'' Showcasing QB64 path functions:
2016-03-18 11:36:04 +00:00
{{CodeStart}} '' ''
{{Cl|$CONSOLE}}:ONLY
{{Cl|_DEST}} {{Cl|_CONSOLE}}
2019-04-15 01:15:33 +00:00
{{Cl|SHELL}} "cd"
2016-03-18 11:36:04 +00:00
{{Cl|PRINT}} {{Cl|_CWD$}}
{{Cl|PRINT}} {{Cl|_STARTDIR$}}
{{Cl|SYSTEM}}
{{CodeEnd}}{{small|Code by Galleon}}
{{PageSeeAlso}}
* [[_CWD$]]
* [[SHELL]]
2019-04-15 01:15:33 +00:00
{{PageNavigation}}
<