Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
|
Forum Index : Microcontroller and PC projects : DATA
Author | Message | ||||
palcal Guru Joined: 12/10/2011 Location: AustraliaPosts: 1805 |
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: 5923 |
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 MMBasic Help |
||||
palcal Guru Joined: 12/10/2011 Location: AustraliaPosts: 1805 |
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" |
||||
Print this page |