How to Display/Print a Hex Number???

Dave dave at looktowindward.com
Tue Feb 13 05:52:03 EST 2007


Hi,

I have a parameter that is passed back to RunRev in a Variable from  
an External Command, e.g. the TranScript line is:

put myExternalFunction("myHandle") into myStatus

and the C/C++ line in the External is:

SetVariableEx(theArgumentArrayPtr[0],"",&myHandle,&myStatus);

I would now like to display the "handle" as a Hex Value in RunRev but  
for the life of me I can't think how to do it! Guess my brain has  
gone to sleep today! Any help would be appreciated!

Thanks a lot and All the Best
Dave




More information about the use-livecode mailing list