home *** CD-ROM | disk | FTP | other *** search
- /* Execute Command */
-
- ADDRESS MOVIESHOP
- Options RESULTS
- Options FAILAT 21
-
- Parse ARG Command Param
-
- REQTEXT4 = '"Es wird mindestens MovieShop 4.0 benötigt"'
-
- /* ab 4.0 ist auch '\n' im Requester-Body erlaubt */
-
- REQTEXT = '"Es ist noch kein Projekt offen!\nSoll eines geöffnet werden?"'
- REQGADS = '" Neues |Bestehendes| Abbruch "'
-
- VERSION 4 0
- If RC >= 5 Then REQUEST REQTEXT4
- Else Do
- Param = Strip(Param,'L')
- If Command ~= '' Then Do
- If Param ~= '' Then CommandLine = Command||' "'||Param||'"'
- Else CommandLine = Command
- GETPROJECTNAME
- If RC = 0 Then CommandLine
- Else Do
- REQUEST REQTEXT 'GADGETS' REQGADS
- CHOICE = RESULT
- Select
- When CHOICE = 1 Then Do
- NEWPROJECT
- If RC = 0 Then CommandLine
- End
- When CHOICE = 2 Then Do
- OPENPROJECT
- If RC = 0 Then CommandLine
- End
- When CHOICE = 0 Then Exit 5
- Otherwise Exit 10
- End
- End
- End
- End
-