Works on a native pick system: >WED BBB * BBB - Simple Program to test program snippets before using in development CRT 'Enter Hex String : ':;INPUT HEX.IN HEX.OUT = OCONV(HEX.IN,'MCX') PRINT HEX.OUT STOP *********** SUCCESSFUL COMPILE! 2 FRAMES USED. >BBB Enter Hex String : ?0102E84669 4343744105
No idea why U2 would drop the ball on this, but at least it works in Pick! Allen E. Elwood Senior Programmer Analyst Direct (818) 361-5251 Fax (818) 361-5251 Cell (818) 359-8162 Home (818) 361-7217 -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Christophe Marchal Sent: Wednesday, August 18, 2004 06:00 To: [EMAIL PROTECTED] Subject: [U2] Converting hexa to decimal Hi, I'm trying to convert a hexadecimal string to its decimal value. My original string : 0102E84669 I've tried oconv(original,"MCX") or xtd(original) but it seems to be not the good method. The result is : 48776809 wich is the result of xtd("02E84669") It seem to lost first hexadecimal value 01 Has anybody see this before ? Any idea to resolve this ? Christopher ------- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/ ------- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
