Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 117 - 2505_CoreGPT(Podar)_Flipbook_C7
P. 117

    Program 4: To draw a blue square.

                     Text in Graphics Window

                     In BASIC-256, you can display text in the graphics window using the TEXT command. This allows
                     you to place text at specific coordinates on the screen.

                     Syntax:

                     TEXT x, y, "Your Text Here"
                         ✶  x, y: The coordinates where the text will appear.

                         ✶  "Your Text Here": The text you want to display.

                     Program 5: To write text on the screen.

                                                                                             Graphics in BASIC-256      115

| 112 113 114 115 116 117 118 119 120 121 122 |