Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
pset step bug..?
#1
hi, i am writing a very simple example for the PSET doc...

Quote:' Set an appropriate Screen mode.
Screen 14


' Plot a pixel at the coordinates 100, 100, Color 15. (white)
Pset (100, 100), 15

' Confirm the operation.
Locate 1: Print "Pixel plotted at 100, 100"

' Wait for a keypress.
Sleep


' Plot another pixel at the coordinates 150, 150, Color 4. (red)
Pset (150, 150), 4

' Confirm the operation.
Locate 1: Print "Pixel plotted at 150, 150"

' Wait for a keypress.
Sleep


' Plot a third pixel relative to the second, Color 15. (white)
' This pixel is given the coordinates 60, 60. It will be placed
' at 60, 60 plus the previous coordinates (150, 150), thus plotting at 210, 210.

Pset Step (60, 60), 15

' Confirm the operation.
Locate 1: Print "Pixel plotted at 150 + 60, 150 + 60"

' Wait for a keypress
Sleep


' Close the program
End


this does not run as expected. the 3rd coord is not "stepped", it plots on the same spot as the second one. im using .13...

thanks
Reply
#2
Right, fixed in my local copy, I'll commit to CVS later today.
ngelo Mottola - EC++
Reply
#3
=) always an excellent job from you, dude
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)