View previous topic :: View next topic
|
Author |
Message |
vpr_118 Warnings : 1 New User
Joined: 07 Apr 2008 Posts: 64 Location: chennai
|
|
|
|
Hi,
I have to retrieve a data in cursor position.
The data is in hex.
My requireemt is to get the data from the position and change that to decimal.
Please find the sample input below:
AR Ü Ü ÅÊø °c *
- - - - + - - - - 1 - - - - + - - - - 2 - - - - + - - - - 3 - - - - + - -
AR Ü Y ÅÊø °c *
CD00002F2046909F04747419815000000000000
190000EC335800aC0340844030C0010000C0100
- - - - + - - - - 1 - - - - + - - - - 2 - - - - + - - - - 3 - - - - + - -
AR Ü Y ÅÊø °c *
CD00002F2046909F04747419815000000000000
190000EC335800aC0340844030C0010000C0200
I have to see if we have '90' in 18th position and have to retrieve the data in 28th postion which either will be '01' or '02' or '03'
since the data is fully in hex .please let me know how to identify the value in 18th and 28th position.
[/b] |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
F '90'X 18 |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
You were not clear. Do you want the data in the cursor position? Or do you want the data at a particular column? |
|
Back to top |
|
|
|