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
Graphics
ARC
CHART
CIRCLE
COLOR
DRAW
DRAWPOLY
IMAGE
LINE
PAINT
PEN
PLOT
POINT
PSET
RECT
RGB
RGBF
SHOWPAGE
TEXTHEIGHT
TEXTWIDTH
TXTH
TXTW
VIEW
WINDOW
XMAX
XPOS
YMAX
YPOS
If there is insufficient information on this page and you wish learn more about VIEW,
please send an email to smallbasic@gmail.com. You can help to improve information about
VIEW by submitting a pull request,
click View Source for details. Note, an offline language reference text file is also available - see the Download section.