View previous topic :: View next topic
|
Author |
Message |
jaffarhussain
New User
Joined: 26 Nov 2010 Posts: 30 Location: Hyderabad
|
|
|
|
I have a table with name Table1 which occurs 2 time Indexed by Idx .
I am reading record by record into the table with record length 80.
For Example: 12345abcfdefgsfgggggggsdafsssssssssssssssssssssss
21556asdsffffffffffffffffdghhhhhhhhhhhhhhhhhhhhhhhh
Now if i say
SET Idx to 1.
Display 'Table' Table(Idx)
Then Output will be : 12345abcfdefgsfgggggggsdafsssssssssssssssssssssss
Now if i want to pint only first 5bytes of record in table i.e
Output should be only: 12345
Then what should i do , how to refer bytes inside the table.
Please suggest Thanks in advance. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Either redefine the data or use reference modification. |
|
Back to top |
|
|
jaffarhussain
New User
Joined: 26 Nov 2010 Posts: 30 Location: Hyderabad
|
|
|
|
Can you give an example for reference modification using in array. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
Back to top |
|
|
jaffarhussain
New User
Joined: 26 Nov 2010 Posts: 30 Location: Hyderabad
|
|
|
|
Thank you |
|
Back to top |
|
|
|