1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-04 04:50:22 +00:00
QB64-PE/internal/help/_DONTWAIT__11111111.txt
Roland Heyder aeb9c0668b Updates help files for use with new Wiki parser (2nd try)
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).
2022-05-21 00:18:31 +02:00

45 lines
1.1 KiB
Plaintext

{{QBDLDATE:05-20-2022}}
{{QBDLTIME:23:07:58}}
{{DISPLAYTITLE:_DONTWAIT}}
[[_DONTWAIT]] is used with the [[SHELL]] statement in '''QB64''' to specify that the program shouldn't wait until the external command/program is finished (which it otherwise does by default).
{{PageSyntax}}
: [[SHELL]] [{{KW|_DONTWAIT}}] [{{Parameter|commandLine$}}]
{{PageDescription}}
*Runs the command/program specified in {{Parameter|commandline$}} and lets the calling program continue at the same time in its current screen format.
*Especially useful when CMD /C or START is used in a SHELL command line to run another program.
* '''QB64''' automatically uses CMD /C or COMMAND /C when using SHELL.
* '''QB64''' program screens will not get distorted or minimized like QBasic fullscreen modes would.
{{PageExamples}}
{{CodeStart}}
{{Cl|SHELL}} {{Cl|_DONTWAIT}} "notepad " + filename$
{{Cl|FOR...NEXT|FOR}} x = 1 {{Cl|TO}} 5
{{Cl|_LIMIT}} 1
{{Cl|PRINT}} x
{{Cl|NEXT}}
{{CodeEnd}}
(opens up notepad at the same time as counting to 5)
{{OutputStart}}
1
2
3
4
5
{{OutputEnd}}
{{PageSeeAlso}}
* [[SHELL]], [[_HIDE]]
{{PageNavigation}}