Series of know issues articles are showing known issue itself about Small Basic and it's workaround. In this article, local means Small Basic IDE environment and remote means internet browser environment with Silverlight add-in.
Calling following operations in an event handler such like on key down causes the browser hang up in remote.
Following is a sample error message in the bottom of the Internet Explorer.
So in remote, operations above should be outside of event handlers. Following code is the sample how to avoid this issue.
Turtle
.
Show
(
)
GraphicsWindow
KeyDown
=
OnKeyDown
Sub
If
LastKey
"R"
Then
TurnRight
EndIf
EndSub
While
"True"
keyDown
key
"False"
Else
Program
Delay
200
' for reducing server load
EndWhile