tutorials/beginner
05_picture.abs
39 lines of ArcBasic. Words in colour that are commands link to their help page. To run it, download ArcBasic, open the file and press F5.
; Drawing a pictureGraphics 640, 480; the skyClsColor 120, 190, 255Cls; the groundColor 80, 170, 80Rect 0, 360, 640, 120; the sunColor 255, 220, 60Oval 500, 40, 90, 90; the houseColor 220, 200, 160Rect 160, 240, 200, 120; the roof: lines that get wider as they go down make a triangleColor 190, 70, 60For row = 0 To 70 Line 260 - row * 1.6, 170 + row, 260 + row * 1.6, 170 + rowNext; a door and two windowsColor 120, 70, 40Rect 240, 300, 40, 60Color 170, 220, 255Rect 180, 260, 40, 30Rect 300, 260, 40, 30Color 255, 255, 255Text 10, 10, "My first picture - press any key"WaitKeyEnd
