GetRuntimeString() and procedure [Resolved]

Just starting out? Need help? Post your questions and find answers here.
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5494
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

GetRuntimeString() and procedure [Resolved]

Post 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
Last edited by Kwai chang caine on Wed Jan 24, 2018 9:11 am, edited 1 time in total.
ImageThe happiness is a road...
Not a destination
User avatar
Demivec
Addict
Addict
Posts: 4260
Joined: Mon Jul 25, 2005 3:51 pm
Location: Utah, USA

Re: GetRuntimeString() and procedure

Post 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.
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5494
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Re: GetRuntimeString() and procedure

Post by Kwai chang caine »

Thanks a lot DEMIVEC for your precious explanation 8)
Have a very good day
ImageThe happiness is a road...
Not a destination
Post Reply