Command RUN
 
Description Run previously defined user code or functions.
User code is supplied in C and compiled by our firmware department subject to order.
Maximum Function Size increased: 8192 ASCII characters - v49.32.
 
Syntax/Parameters RUN(Name);
 
Options Functions can be run as macros for compact menu design.
RUN(Func1);    or    RUN(Func1,Func2,Func3...FuncN); or a pointer to a function RUN(func-ptr);

Inline Command Blocks - v30.00
Inline functions supported - RUN( [ CmdA(); CmdB(); ... Cmdn(); ] );
> RUN( [LOAD( RS2, "Hello" );] );


RUN(varcmd) - v49.02
Added support for running commands from a text variable.
This is useful when sending a SMART command over a serial link embedded in a user protocol.
It is then possible to dynamically create new entities and pages remotely from a host in a user protocol.
LOAD( cmd, "LOAD(RS2,1);LOAD(RS2,\\22Hello\\22);" ); // cmd is a text variable.Use \\22 to insert double quotes
RUN( cmd );  //Sends 1Hello via RS232 port
 
Example RUN(UpFunc);

RUN(SaveFunc,ExitFunc);