0 Members and 1 Guest are viewing this topic.
For 1->X To 300For 1->Y To 216Blue PxlOn 1,1NextNext
For 1->X To 300For 1->Y To 216Blue PxlOn X,YNextNext
For 1->X To 300 Step 1For 1->Y To 216 Step 1Blue PxlOn X,YNextNext
?→I:ClrGraphFor 0→J To IPxlOn Intg (93.5×J÷I+(Intg (Ran# ×187×(I-J)÷I)+1)),Intg (189.5×J÷I+(Intg (Ran# ×379×(I-J)÷I)+1))Next
ViewWindow 1, 127, 0, 1, 63, 064 -> X32 -> YPlot X, Y [triangle thingy]Locate 1, 1, XLocate 2, 1, Y
Aaah the joys of casio basic, where all the graphic functions use X and Y as global variables.Actually the use for this override is justified by the function plot:Code: [Select]ViewWindow 1, 127, 0, 1, 63, 064 -> X32 -> YPlot X, Y [triangle thingy]Locate 1, 1, XLocate 2, 1, YUsing the display instruction on a Plot X, Y function allows the user to move a cursor around the screen and effectively modify the X and Y coordinates (confirmed by pressing EXE)This is actually very useful for point and click games, or for graphical interfaces (especially on Casio g25 calculators (can't remember the international name), where there weren't any kind of decent Input/Output functions)Since this function was created before any kind of graphical functions on the latest calculator models, the later functions inherited from this behaviour (just like the SH3 calculators' BASIC graphical screen inherited from the 127*63 resolution of the previous models, despite the physical screen being 128*64)