I think what you're looking for is MoveJSync and MoveLSync.
I think what you're looking for is MoveJSync and MoveLSync.
ABB has this functions in it's code. They have a function called "CallByVar" or you can do it directly like this %procname% arguments;
I did discuss this with Kuka a while back when they came out with KR.C4 and the reply I got was that KRL does not support late linking.
This is a feature we'd like to have as well so a proper way of doing it would have been great as it opens up for a lot more dynamic code.
To get around it we created a switch wich compares a string to a list of known features then we call the appropriate method for that feature. Parameters is also passed along as a string, which is then decoded inside the method for the feature. All data coming in (method name and arguments) are sent via the network into the robot.