FEX

Syntax FEX(file *[,{filex | #chx}]* [;cmd$])
Location SMSQ/E

Executes and returns the job ID of the job filename. This function is a functional version of EX, with the same set of arguments, that executes a job. In addition to what EX does, it returns the job ID of the new job that was started.

Example

jId = FEX ("win1_XChange_xchange")

Will start Psion XChange in win1_xchange and return the job ID of the new job.

NOTES In some combinations of SMSQ/E and FileInfo2 versions, there might be a clash of extension names between FEX supplied as an SMSQ/E function (as described here) and a function with the same name (but very different purpose) supplied by FileInfo2. Later versions of FileInfo2 resolved this name clash by renaming the corresponding function to EXF.

CROSS-REFERENCE

See EX, FET, FEW, EXEC, JOBS.