Returning a range table. How?

Peter picture Peter · Sep 13, 2010 · Viewed 8.3k times · Source

I would like to write a function module that returns a range table. Is that possible and if so, how?

Answer

PATRY Guillaume picture PATRY Guillaume · Sep 14, 2010

The structure of a typed range is like this :

**Name**  **Type**
SIGNT      VARV_SIGN
OPTION     TVARV_OPTI
LOW        your-type
HIGH       your-type

You can create this structure in the dictionary, as well as a table of those, and then use it in the FM signature.

Also, a generic structure already exists : RSDSSELOPT (along with a table type RSELOPTION).