******************************************************************************************* _0___0___0___0000______________________________________ _0___0__0_0__0___0_____________________________________ _00000_0___0_0000______________________________________ ___0___00000_0___0_____________________________________ ___0___0___0_0000______________________________________ Basic Graphics Program Version 1 ******************************************************************************************* (LC6) ******************************************************************************************* The standard form of a command is: ? The first ? is the command letter and the following ?s are the numbers (or in one case letters) which provide the output specification. ******************************************************************************************* To save or load files you will need to use notepad to create a file called: c:\yabasic\gp1.txt this will then be were your graphics program data will be stored when you select save from the menu. WARNING: If you save another program then any previous program will be overwritten. There will be programs to download which you can use on "BGP Version 1" Programs can be edited or created in the NOTEPAD using one line per command. ******************************************************************************************* WINDOW This command can only be used once and must be the first command (Command No.1). Opens a window x pixels by y pixels. x is width y is height w ******************************************************************************************* CIRCLE Draws a circle with the centre at x,y and a radius of r. x is x coordinate y is y coordinate r is the radius c ******************************************************************************************* RECTANGLE Draws a rectangle with the bottom left corner at x,y and a height of h and length of l. x is x coordinate y is y coordinate l is the length h is the height r ******************************************************************************************* SQUARE Draws a square with bottom left corner at x,y and sides of l. x is x coordinate y is y coordinate l is the length s ******************************************************************************************* LINE Draws a line from x1,y1 to x,y. x1 is starting x coordinate y1 is starting y coordinate x2 is ending x coordinate y2 is ending y coordinate l ******************************************************************************************* TEXT Prints the text specified at the co-ordinates x,y. x is x coordinate y is y coordinate t is the text to be printed t cannot use spaces, must use '_' or '-', or anythiong EXCEPT \ or ". for example: t - wouldn't work t - would work t - would work t - would work ******************************************************************************************* Basic Graphics Program by Robert Barnes