VIEW
VIEW [x1, y1, x2, y2 [, color [, border-color]]]
Defines a viewport with starting point (upper left corner))
[x1,y1]
and end point (lower right corner)
[x2,y2]
. The optional parameters color
and
border-color
define the background color and the border
color of the viewport, respectively. VIEW without parameters will
disable the last set viewport.
Example
view ' Disable viewport
rect 100,100, STEP 100,100 color 4 filled ' Draw a rectangle in dark red
view 150,150, 300,300, 0, 13 ' Set new viewport with black background and magenta border
rect 100,100, STEP 100,100 color 14 filled ' Draw same rectangle in yellow
Code samples using VIEW
001 3 ways to print hello 5 times.bas
002 numeric variables.bas
003 conditional branching.bas
004 loops.bas
005 challenge.bas
006 arrays+.bas
3dtictac.bas
agendus.bas
betrayal: crows ii.bas
Chaos_1xt.bas
Chaos_NPhase.bas
conrec-sb-v01.bas
crow.bas
filemanager.bas
forgive-me.bas
g_col_09.bas
g_col_pd.bas
graphics sampler.bas
Hexagon.bas
loadsavebmp.bas
loadsavebmp_fltk.bas
memorytest.bas
memoryTest.bas
pdocview.bas
pirate.bas
PRINTA_OKOK.bas
raycaster.bas
raycaster.bas
realpolitik.bas