Using Graphics in your BASIC Program
1. Open the MSPaint Program. This program can be found by going to Start>Programs>Accessories>Paint. 2. From the Image menu select Attributes. 3. Size your image so that it is 100x100 pixels:Click OK. 4.Create a graphic that looks something like this:
![]()
5. Save the program into your directory and name it clickme.bmp.
6. Open True Basic & enter the following code:
SET WINDOW 0,10,0,10
LIBRARY "GOC.trc"
CALL G_StartUp
CALL G_Create (gid1, "clickme.bmp", 3,2)
call G_Shutdown
END
7. Save this into the same directory where you saved the image. Format and run the program