Page 1 of 1

GetRuntimeString() and procedure [Resolved]

Posted: Tue Jan 23, 2018 11:44 am
by Kwai chang caine
Hello at all :D

I try to understand the functions of the Runtime library, and not really undertand the GetRuntimeString() for a procedure
GetRuntimeInteger() return the pointer of the procedure called, but is there an utility for GetRuntimeString() and a procedure ?

Code: Select all

Runtime Procedure.s RuntimeProcedure() 
 ProcedureReturn "Runtime procedure"
EndProcedure

Debug RuntimeProcedure()

Debug "RuntimeProcedure() address: " + GetRuntimeInteger("RuntimeProcedure()")
Debug "RuntimeProcedure() address: " + @RuntimeProcedure()

Debug "GetRuntimeString() : " + GetRuntimeString("RuntimeProcedure()")
Have a good day

Re: GetRuntimeString() and procedure

Posted: Tue Jan 23, 2018 9:42 pm
by Demivec
GetRuntimeString() is used only with Rumtime string variables or constants, SetRuntimeString() is used only with Runtime variables (strings). Neither are used with procedures.

Re: GetRuntimeString() and procedure

Posted: Wed Jan 24, 2018 7:47 am
by Kwai chang caine
Thanks a lot DEMIVEC for your precious explanation 8)
Have a very good day