Michael_Lowry

Using EXEC VARAs as custom AE scripting functions

Discussion created by Michael_Lowry on Jul 18, 2018
Latest reply on Jul 18, 2018 by Michael_Lowry

This morning, I submitted two new ideas:

 

If both of these enhancements are delivered, this will make it possible to use EXEC VARA objects as custom AE scripting functions. Here is how it would work:

  1. The EXEC VARA is accessed using GET_VAR(VARA,KEY,COLUMN) or a {VARA,KEY,COLUMN} reference. Here, KEY and COLUMN are the arguments to the function.
  2. The EXEC VARA runs a SCRI.
  3. The SCRI reads the new predefined read buffers &UC_CAUSE_VARA_KEY and &UC_CAUSE_VARA_COLUMN from the read buffer.
  4. Based on the KEY and COLUMN used to access the EXEC VARA, the SCRI performs different actions.
  5. The SCRI assembles and returns a single-result data sequence to the calling EXEC VARA. This is the output of the function.

 

If you like the ideas, please vote for them.

Outcomes