![]() |
Forum Index : Microcontroller and PC projects : DATA
Author | Message | ||||
palcal![]() Guru ![]() Joined: 12/10/2011 Location: AustraliaPosts: 1982 |
I am writing some code and would find it very useful if I could access two different lots of data. At the moment I have to read through 400 odd entries as junk before I get to the second lot of data. Then RESTORE to go back. Maybe DATA1 and READ1. DATA2 and READ2 etc. OR is there already an easy way to do this. Paul. "It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all" |
||||
paceman Guru ![]() Joined: 07/10/2011 Location: AustraliaPosts: 1329 |
Paul, if you're using a Micromite+ then the easy way might be to read and write to the SD card, depending how fast and often you need to do it. That way you can use the random SEEK command to take you direct to the data you want and you also can have five files open at once. Its in the Micromite Plus Manual. Greg |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6266 |
RESTORE lets you RESTORE to a specific line number (or label) That will get you to a known place in each group of data. VK7JH MMedit |
||||
palcal![]() Guru ![]() Joined: 12/10/2011 Location: AustraliaPosts: 1982 |
Thanks Greg and Jim. Paul "It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all" |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |