Difference between revisions of "Illegal Function"

From QB64 Wiki
Jump to navigation Jump to search
imported>Clippy
m
imported>Clippy
m
Line 2: Line 2:
  
 
# Graphic objects such as [[LINE]], [[CIRCLE]], [[PSET]], [[PRESET]] and [[DRAW]] statements must use a [[SCREEN]] mode other than the default SCREEN 0.
 
# Graphic objects such as [[LINE]], [[CIRCLE]], [[PSET]], [[PRESET]] and [[DRAW]] statements must use a [[SCREEN]] mode other than the default SCREEN 0.
# [[GET (graphics statement)]] and [[PUT (graphics statement)]] cannot use offscreen coordinates in QB. QB64 allows PUT statements to be used offscreen using the PUT [[_CLIP]] syntax.
+
# [[GET (graphics statement)]] and [[PUT (graphics statement)]] cannot use offscreen coordinates in QB. QB64 allows offscreen GETs, but PUT statements can only be used offscreen using the PUT [[_CLIP]] syntax.

Revision as of 00:50, 3 January 2010

A parameter passed does not match the function type or exceeds certain function limitations.

  1. Graphic objects such as LINE, CIRCLE, PSET, PRESET and DRAW statements must use a SCREEN mode other than the default SCREEN 0.
  2. GET (graphics statement) and PUT (graphics statement) cannot use offscreen coordinates in QB. QB64 allows offscreen GETs, but PUT statements can only be used offscreen using the PUT _CLIP syntax.