Shop OBEX P1 Docs P2 Docs Learn Events
Lookup / Lookdown — Parallax Forums

Lookup / Lookdown

hmlittle59hmlittle59 Posts: 404
edited 2008-11-28 04:15 in General Discussion
Hello all,

I have NO variable space left....with that said, I've learn to use "Lookup" (Lookup index,[noparse][[/noparse]clock,qtyofdr,..etc.) and I was able to store some "Auto-Config." values in the DS1302 ram. Appears to work great. Loop through Next ram byte location to store value, at the same time looping through LOOKUP to get the value to store... Now, Does LookDown work the same way but in reverse? Meaning get a value from my RAM location (DS1302) and it will be assigned to the respected (LookDown index,[noparse][[/noparse]clock,qtyofdr,...etc.) location while looping through?

My BOE_BOT book only has Lookup examples and I can't find much on the Forum.

1) I can save "CONFIG" values to DS1302 Ram.

2) How do I get them back without ARRAY() space

3) Does Lookdown save values within the Brackets that have variable names in it [noparse][[/noparse]clock,qtyofdr,...etc.)

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I HAVE LEARN SO MUCH...BUT STILL KNOW SO LITTLE!!!

hmlittle59

Comments

  • Bruce BatesBruce Bates Posts: 3,045
    edited 2008-11-28 03:54
    hmlittle -

    Have you looked in the IDE Help File, or downloaded the PBASIC Manual? Both of those resources should show you how to use ALL the PBASIC commands, as well as showing some brief examples.

    Regards,

    Bruce Bates

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    When all else fails, try inserting a new battery.
  • hmlittle59hmlittle59 Posts: 404
    edited 2008-11-28 04:15
    I'll chck again

    thanks.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    I HAVE LEARN SO MUCH...BUT STILL KNOW SO LITTLE!!!

    hmlittle59
Sign In or Register to comment.