AndyDentFree / rbstuff

Automatically exported from code.google.com/p/rbstuff
2 stars 0 forks source link

While Loop Crash #16

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a Map like this:

World 5 5
Beepers 3 3 1
Robot 1 1 1 9

2. Create a Karel program like this:

while frontisclear
putbeeper
wend

What is the expected output? What do you see instead?

I was hoping that 'Robot 1 1 1 9' would create Karel with 9 beepers in the 
beeper bag however 
when this app runs I receive a 'No Beepers Left in Bag' error - the RB app 
shows this line as the 
root of the crash 'script.Context = mWorld' and clicking the RB ;Resume' button 
pops and 
Exception msgbox saying:

An exception of class
RbScriptAlreadyRunningException was not handled.
The application must shut down.

What version of the product are you using? On what operating system?

r43

Please provide any additional information below.

Is this the way to create Karel with 9 beepers? Robot 1 1 1 9

Original issue reported on code.google.com by jeffreya...@gmail.com on 27 Apr 2009 at 11:13

GoogleCodeExporter commented 9 years ago
Fixed in r45 - you are correct in your expected behaviour.

Original comment by dentaroo@gmail.com on 28 Apr 2009 at 2:34