Draw a pixel: Difference between revisions
Content added Content deleted
Jazzedpineda (talk | contribs) (Added Microsoft Small Basic implementation, rearranged other implementations) |
Jazzedpineda (talk | contribs) (Added EasyLang implementation) |
||
Line 836: | Line 836: | ||
{{out}} |
{{out}} |
||
[https://ibb.co/VL9Qs5z] |
[https://ibb.co/VL9Qs5z] |
||
=={{header|EasyLang}}== |
|||
Because of EasyLang's limitations, the canvas is limited to 100x100. To draw a pixel, draw a rectangle of size 1x1. To put a pixel at (100, 100), we must set the coordinates at (99, 99) because 100 is located at the very edge of the canvas. 900 is a color that is equivalent to red. |
|||
<syntaxhighlight lang="easylang">color 900 |
|||
move 99 99 |
|||
rect 1 1</syntaxhighlight> |
|||
=={{header|F Sharp|F#}}== |
=={{header|F Sharp|F#}}== |