on Mar 25th, 2017, 11:05am, Rod wrote:
Great, thanks.
There seems to be a problem with the program in that there's no trapclose command anywhere! If you click on the Close button it appears to close (in that the window disappears) but in fact it's still running.
For LBB users there's a worthwhile speed-up that can be achieved. Make the following changes to the ssr subroutine:
Change this Code: If phi = 0 Then
#h$ "Set ";nx;" ";ny
Else
#h$ "Goto ";nx;" ";ny
End If
to this Code: If phi = 0 Then
g$ = g$ + "Set ";nx;" ";ny;";"
Else
g$ = g$ + "Goto ";nx;" ";ny;";"
End If
and add this between the Next and the End Sub:
Code:
This builds the plot commands in a temporary string and sends them 'all in one go' which is faster in LBB. The modification doesn't affect compatibility with LB4.
Richard.