RosettaCodeData/Task/Bitmap/Yabasic/bitmap.basic
2023-07-01 13:44:08 -04:00

13 lines
256 B
Text

// Rosetta Code problem: http://rosettacode.org/wiki/Bitmap
// by Galileo, 07/2022
open window 200, 200
backcolor 255, 0, 0 // red
clear window
color 0, 255, 0 // green
dot 100, 100
c$ = getbit$(100, 100, 100, 100) // get color area 1x1 pixel
print c$