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 13:40 in General Discussion
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



__________________________________________________________________

Gesendet von Yahoo! Mail - http://mail.yahoo.de
Ihre E-Mail noch individueller? - http://domains.yahoo.de
Sign In or Register to comment.