RosettaCodeData/Task/Bitmap/Yabasic/bitmap.basic

14 lines
256 B
Plaintext

// 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$