Skip to content

JSMumps.procedure()

John P. Willis edited this page Mar 27, 2017 · 2 revisions

Calls a MUMPS procedure.

    jsm.procedure(procedure, args, callback);

Arguments

  • procedure

An ECMAScript string naming the procedure to be called, in the format LABEL^ROUTINE.

  • args

An ECMAScript array of arguments to pass to the procedure.

  • callback

The callback procedure to be executed when the procedure call has returned via the MUMPS QUIT command, or when an error occurs. Per Node.js conventions, this callback procedure takes two arguments, err and data.

Clone this wiki locally