Indirect Method Calls (aka Poor Man's method pointers)
In addition to calling 4D methods as you would within 4D, by directly
referencing the method name, you can also indirectly call a method by name
using the Call 4D method command.
The syntax of this command is as follows:
The method name may be any valid expression that returns text. This powerful
feature allows you to dynamically determine which of several methods you call,
Call 4D method(inMethodName {;inParam1 {;inParamN}})Unfortunately I am having trouble understanding the syntax;
I have tried this
$error:=Call 4D method(my_email) `where my_email is the method to call, no additional parameters required
Active 4D generates the error 'Expecting a text expression' with the closing bracket highlighted.
Can someone let me know what i am over looking.
I am running Mac OS9.2.1 and 4D 6.8, active 4d v2.05
Thanks in advance
Graham
