CallFunction for a local procedure [Resolved]
Posted: Sat Jan 03, 2026 1:21 pm
Hello at all
For calling a local procedure with CallFunctionFast(), i do that and that works
But i want to use CallFunction() and that not works
Is it possible to use CallFunction for a local procedure ?
Have a good day
For calling a local procedure with CallFunctionFast(), i do that and that works
Code: Select all
Procedure Kcc(*Variable)
Debug PeekS(*Variable) + " from the procedure"
ProcedureReturn *Variable
EndProcedure
*Ptr = CallFunctionFast(@Kcc(), @"Hello")
Debug PeekS(*Ptr)(Code: Select all
Procedure Kcc(*Variable)
Debug PeekS(*Variable) + " from the procedure"
ProcedureReturn *Variable
EndProcedure
*Ptr = CallFunction(0, "Kcc", @"Hello")
If *Ptr
Debug PeekS(*Ptr)
Else
Debug "The pointer is empty"
EndIf Have a good day