As you can see there are several properties inside the Ptr Dataype , as from what i can guess ,… most of those properties will generate the address of location of a method in the memory or the address of location of memoryblock
My question is that is there any use to convert these address to say Single , Integer , Double ?? I mean what is the practical purpose of those properties
No. They read the memory at the address pointed to by the Ptr and return its value in the given format. None of that is appropriate for the address of a method.
Yes Sir you are right. I wanna just know what can i do with that machine code afterwards? Like about all those properties that are available. What are their uses?
These methods will be useful if you are using declares. Sometimes depending on the call, you will get a memory pointer instead of a return value and you are expected to get the value yourself.
Again, those functions do not return the address. The Ptr is the address; those functions return the data stored at that address. Not useful for functions, but quite useful for declares and accessing data in a MemoryBlock.