| Introduction | MTB Statements | File System | Compiler | Applications | Reference Guide | Index |
| Language Structure | Data Division | I/O Format Division | Procedure Division | Mnemonics |
Mnemonic:
| (Launch=string-argument$) |
| Discussion: |
The (Launch) mnemonic launches a Windows
application or document.
(Under Comet 504, the (Launch) mnemonic performs the same function as the (Shell to DOS) mnemonic.) String-argument$ is the name of the Windows program or document to be launched. If string-argument$ is null, this mnemonic launches "My Computer" for your current drive.
Note |
| History: | This mnemonic was added in the REL release 99.01. |
| Examples: | The following examples are based on this simple program:
LENGTH 254 LOCAL A$ A$ = ... ! Set launch string PRINT (Launch=A$) ! Launch program or document INPUT "" ! Dummy input to retrieve result string RUN "QMONITOR"where A$ is a string containing the name of the Windows program or document to be launched.
|