I'm using r4gl. I want to call a function in a 4gl program but I don't know the name of the function in compilation time. The reason is that I have n funcions with this names calculate1, calculate2, calculate3, ...calculaten.

The number depends of a database table. Then the call statement depends of a database query.

How can I do this?

The choose case statement is not a solution for me.