looking at two inputs at the line
Archiver
Posts: 46,084
hello can some one help with the next problem.
i want todo the next thing IF(in0=1,in1=0)then ...
but this is not working and i can't find anything about it that you
can monitor two inputs in one line i hope that someone can help me
or is it not possibly.
greetings erik
i want todo the next thing IF(in0=1,in1=0)then ...
but this is not working and i can't find anything about it that you
can monitor two inputs in one line i hope that someone can help me
or is it not possibly.
greetings erik
Comments
scholts@l... writes:
> i want todo the next thing IF(in0=1,in1=0)then ...
>
> but this is not working and i can't find anything about it that you
> can monitor two inputs in one line i hope that someone can help me
> or is it not possibly.
>
Try this: if in0 = 1 and in1 = 0 then
Sid
[noparse][[/noparse]Non-text portions of this message have been removed]
like this:
IF ((IN0 = 1) AND (IN1 = 0)) THEN
' do something about it
endif
... by using logical AND you can "do something about it" when both
conditions are true.
-- Jon Williams
-- Applications Engineer, Parallax
-- Dallas Office
Original Message
From: erik [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=bcOD91pEgB6GZhHCe3nZ_qn2slCDjq4BUWgWzVWlTnyXEbbxjEpGcU3tzlmhd1Rs9TOqu7J2W0HmiXykKHC_bQ]scholts@l...[/url
Sent: Tuesday, March 23, 2004 3:55 PM
To: basicstamps@yahoogroups.com
Subject: [noparse][[/noparse]basicstamps] looking at two inputs at the line
hello can some one help with the next problem.
i want todo the next thing IF(in0=1,in1=0)then ...
but this is not working and i can't find anything about it that you
can monitor two inputs in one line i hope that someone can help me
or is it not possibly.
greetings erik