Mike only
01-18-2007, 11:09 AM
Halo,
I'm new in PBasic programming and tried to make a program with BOE (BS2). This time, I'm using· INPUT and OUTPUT commads, but I've different result, when I put the INPUT command in front of OUTPUT command:
OUTPUT 8
OUTPUT 9
INPUT 10
Main:
···· OUT8=IN10
····· OUT9=IN10
GOTO Main
Is different result when I make a program as below:
OUTPUT 8
OUTPUT 9
INPUT 10
Main:
···· IN10=OUT8
···· ·IN10=OUT9
GOTO Main
Is it correct that I may not freely put the commands as I will, even though it's logically·the samehttp://forums.parallax.com/images/smilies/confused.gif
Sorry for my poor english.
Thank you
Mike only
I'm new in PBasic programming and tried to make a program with BOE (BS2). This time, I'm using· INPUT and OUTPUT commads, but I've different result, when I put the INPUT command in front of OUTPUT command:
OUTPUT 8
OUTPUT 9
INPUT 10
Main:
···· OUT8=IN10
····· OUT9=IN10
GOTO Main
Is different result when I make a program as below:
OUTPUT 8
OUTPUT 9
INPUT 10
Main:
···· IN10=OUT8
···· ·IN10=OUT9
GOTO Main
Is it correct that I may not freely put the commands as I will, even though it's logically·the samehttp://forums.parallax.com/images/smilies/confused.gif
Sorry for my poor english.
Thank you
Mike only