Shop OBEX P1 Docs P2 Docs Learn Events
bit''s from slot to slot — Parallax Forums

bit''s from slot to slot

ArchiverArchiver Posts: 46,084
edited 2002-02-08 14:07 in General Discussion
Jon,
So if I declare all variables EXACTLY the same in each page, I dont need to
use the put/get tools ?

Rgds,
Chris

Original Message
From: <jonwms@a...>
To: <basicstamps@yahoogroups.com>
Sent: Friday, February 08, 2002 10:06 PM
Subject: Re: [noparse][[/noparse]basicstamps] bit's from slot to slot


> In order for this to work you must define the variables in one program
(slot)
> EXACTLY as and _in_the_same_order_ as in your other program (slot). The
> other thing you can do is use PUT and GET with the shared scratchpad
memory.
>
> -- Jon Williams
> -- Parallax
>
>
> In a message dated 2/8/02 7:41:35 AM Central Standard Time,
> hschwenk@y... writes:
>
>
> > Hi all,
> > > I use Stamp2P 40
> > > My programs did not work together in the different
> > program slots.......
> > > reducing the code step by step to:
> > > In slot 0:
> > > ************************************
> > > '{$STAMP BS2p,test1}
> > > 'flagxy var bit
> > > flag var bit
> > > testloop var byte
> > > flag=1
> > > testloop=testloop+1
> > > Debug "test= ",dec testloop," flag= ",dec flag,cr
> > > pause 2000
> > > run 1
> > > ***************************************
> > > In slot 1:
> > > '{$STAMP BS2p}
> > > flag var bit
> > > testloop var byte
> > > Debug "TEST1= ",dec testloop," flag= ",dec flag,cr
> > > pause 2000
> > > run 0
> > > ******************************************
> > > if the "flagxy var bit " is deactivated,
> > > in my debug "TEST1" the flag=1 like I expected
> > > But now:
> > > if I activate flacxy var bit
> > > in my debug "TEST1" the flag=0 I DID NOT ASPECT
> > THIS
> > > the "counting" of the "testloop" is always to see
> > right
> > >
> > > Do I do or understand something wrong ?
> > > Or is it not allowed to "transfer" Information from
> > slot0 to the
> > > slot1 via bit's?
> > > Is there any documentation (which I did not see)?
> > > Or is it a bug?
> > >
> > > some ideas or information's would be helpful
> > > Thanks Heinz
> >
>
>
>
>
> [noparse][[/noparse]Non-text portions of this message have been removed]
>
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
> from the same email address that you subscribed. Text in the Subject and
Body of the message will be ignored.
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
Sign In or Register to comment.