Daniel,
If there are limited keyword slots, save them for more useful commands. I feel WHILE/WEND is redundant to start with. To me, REPEAT/UNTIL works just as well.
basic_mark
Search found 5 matches
- Tue May 21, 2013 6:01 pm
- Forum: EzSBC1
- Topic: While/Wend Prob
- Replies: 8
- Views: 11185
- Tue May 21, 2013 5:05 pm
- Forum: EzSBC1
- Topic: Output a byte
- Replies: 4
- Views: 7768
Re: Output a byte
Okay, I have figured out the syntax for the PORT function. There is no "=" sign, just the variable or value. I'm really not sure why I didn't think of this before. PORT0 x PORT1 x These examples above will satisfy the syntax. I'll return later with some behavior after more experimentation....
- Sun May 12, 2013 2:23 pm
- Forum: EzSBC1
- Topic: Output a byte
- Replies: 4
- Views: 7768
Re: Output a byte
Mark, Have you had any success with outputting bytes? Or anyone else had success? I have not been able to write any text that doesn't return a syntax error on the port command. None of these work for me: port0=x port1=x port0=x$ port(0)=x port(1)=x port(0)=x$ Can anyone post an actual line for the p...
- Fri May 10, 2013 10:44 am
- Forum: EzSBC1
- Topic: While/Wend Prob
- Replies: 8
- Views: 11185
Re: While/Wend Prob
jerry, I just received my EZSBC1 today and have been playing around with it. I tried your program and it doesn't even load the "WHILE" statement into my module. When I download your program: Counter = 0 ' Initialize variable. WHILE Counter < 20 ' Test value of Counter. Counter = Counter + ...
- Fri May 03, 2013 12:58 pm
- Forum: EzSBC1
- Topic: While/Wend Prob
- Replies: 8
- Views: 11185
Re: While/Wend Prob
Counter = 0 ' Initialize variable. WHILE Counter < 20 ' Test value of Counter. Counter = Counter + 1 ' Increment Counter. WEND ' End While loop when Counter > 19. PRINT Counter ' Prints 20 in the Immediate window. Hi Jerry, Maybe I can help. I am not sure, but it appears you want to see each number...