bug or not bug ??

Everything else that doesn't fall into one of the other PB categories.
User avatar
dobro
Enthusiast
Enthusiast
Posts: 766
Joined: Sun Oct 31, 2004 10:54 am
Location: France
Contact:

bug or not bug ??

Post by dobro »

why this code print "1 5 9" and not "1 2 3 4 5 6 7 8 9" ? :shock:

Code: Select all


calldebugger

restore start
while b.b<>9
	read b.b
debug b.b

wend
debug a$
calldebugger










datasection
start:
	data.b 1,2,3,4,5,6,7,8,9
EndDataSection




Image
Windows 98/7/10 - PB 5.42
■ sites : http://michel.dobro.free.fr/
User avatar
KJ67
Enthusiast
Enthusiast
Posts: 218
Joined: Fri Jun 26, 2009 3:51 pm
Location: Westernmost tip of Norway

Re: bug or not bug ??

Post by KJ67 »

Try;

Code: Select all

Read.B b.b
The best preparation for tomorrow is doing your best today.
User avatar
dobro
Enthusiast
Enthusiast
Posts: 766
Joined: Sun Oct 31, 2004 10:54 am
Location: France
Contact:

Re: bug or not bug ??---- NO BUG !! Sorry

Post by dobro »

arf !! :oops: :oops: Thanks :lol:
Image
Windows 98/7/10 - PB 5.42
■ sites : http://michel.dobro.free.fr/
Post Reply