去進行SPC數據的輸入
經同事查詢的結果,4GL還真的有支援開啟外部EXE,並帶參數進去
路徑說明:CALL WINEXEC("D:\xxx.EXE "ABC","DEF"")
以下為4GL官網文件的說明
WINEXEC( ) MS Windows FE Only!
Purpose:
This function executes a program on the machine where the Windows Front End runs and returns immediately.Context:
- At any place in the program, but only after the first instruction has displayed something on the front end.
Syntax:
CALL WINEXEC( command STRING )
RETURNING result INTEGER
Notes:
- command is the command to be executed on the front end.
- The function executes the program without waiting.
- The function returns FALSE if a problem has occurred.
沒有留言:
張貼留言