Bitmap/Write a PPM file: Difference between revisions

m
→‎{{header|REXX}}: added whitespace.
(added alternate Lua implementation)
m (→‎{{header|REXX}}: added whitespace.)
Line 1,674:
_=
do j =1 for width
do k=1 for height; _= _ || @.j.k /*write the PPM file, 1 pixel at a time*/
end /*k*/ /* ↑ a pixel contains three bytes, */
end /*j*/ /* └────which defines the pixel's color*/