TLLFC(1,2,...)
PURPOSE
This function allows you to make a function call directly into a previously loaded TLL without having to use the RESET_FIELD() function first.
PARTS
1 f/c/e | Required - The program number returned in the LOAD_PRG() function. |
2 f/c/e | Required - The name of the function within the TLL. |
3-9 f/c/e | If you want to pass values to the UDF they would be placed here. You are limited to 7 values that can be passed. |
RETURN TYPE - Any
The return value is dependent on the UDF called. If the TLL is not found, or the function is not found then the return type will be L (logical) and the value will be False.
COMMENTS
This function makes use of TLLs very simple. Within the TLL you should make your routines UDFs. Then you can call the function in the TLL with this function call. The number of values you pass is flexible and can be up to 7. Any value can be returned.
NOTE: If you call a TLL using this function you will not be able to call a UDC (CMD) within the TLL. You can call a UDF, however. This does not effect the calling program, just the TLL you are calling. All other commands and functions should work as normal.
EXAMPLE
A sample program is included with the distribution that shows loading a TLL, calling a UDF, and removing the TLL. The main program is TLLDEMO1 and the TLL itself is TLLDEMO2.
SEE ALSO
CALL_PRG()
Page url: http://www.cassoftware.com/tas/manual/tllfunctioncall().htm