I don't know where is my error:
Code: Select all
Prototype proto_void()
Declare MyFun(sString$, *ptrFunction.proto_void)
Procedure MyFun(sString$, *ptrFunction.proto_void) ;Declare doesn't match with real procedure
EndProcedure
Code: Select all
Prototype proto_void()
Declare MyFun(sString$, *ptrFunction.proto_void)
Procedure MyFun(sString$, *ptrFunction.proto_void) ;Declare doesn't match with real procedure
EndProcedure
Do not use a pointer. Prototypes are defined without pointer * character.acreis wrote: Mon Oct 06, 2025 3:22 pm Good Day,
I don't know where is my error:
Code: Select all
Prototype proto_void() Declare MyFun(sString$, *ptrFunction.proto_void) Procedure MyFun(sString$, *ptrFunction.proto_void) ;Declare doesn't match with real procedure EndProcedure
Code: Select all
Prototype proto_void(sString$)
Declare MyFun(sString$, ptrFunction.proto_void)
Procedure MyFun(sString$, ptrFunction.proto_void) ;Declare doesn't match with real procedure
ptrFunction(sString$)
EndProcedure
Procedure void(sString$)
Debug sString$
EndProcedure
MyFun("Hello", @void())