mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-16 12:04:06 +00:00
aeb9c0668b
Note: Many files were removed (not yet existing/empty pages). The parser will try to download them on demand and will auto-generate text for missing pages (eg. most _gl pages).
37 lines
729 B
Text
37 lines
729 B
Text
{{QBDLDATE:05-20-2022}}
|
|
{{QBDLTIME:23:11:21}}
|
|
{{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}}
|
|
* '''QB64 1.0 and up''' (QB64 Team)
|
|
* '''QBPE 0.5 and up''' (QB64 Phoenix Edition)
|
|
|
|
|
|
{{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}}
|
|
|