home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AMOS PD CD
/
amospdcd.iso
/
extensions
/
jd
/
procs
/
_grid.amos
/
_grid.amosSourceCode
Wrap
AMOS Source Code
|
1994-02-02
|
441b
|
22 lines
Rem grid draw routine
Rem this routine will draw an x,y grid anywhere on the screen
GRDL=20
GRDT=20
GRDW=250
GRDH=100
GRDX=20
GRDY=20
GRID[GRDL,GRDT,GRDW,GRDH,GRDX,GRDY]
Procedure GRID[GRDL,GRDT,GRDW,GRDH,GRDX,GRDY]
For GRDC=0 To GRDX
GRDV=GRDL+(GRDW*GRDC)/GRDX
Polyline GRDV,GRDT To GRDV,GRDT+GRDH
Next
For GRDC=0 To GRDY
GRDV=GRDT+(GRDH*GRDC)/GRDY
Polyline GRDL,GRDV To GRDL+GRDW,GRDV
Next
End Proc