Illegal Function

From QB64 Phoenix Edition Wiki
Revision as of 15:22, 21 April 2022 by BigRon55 (talk | contribs) (Created page with "'''Illegal Function Call''' returns ERROR Code 5 when a parameter does not match the function type or exceeds function limitations. 1) Graphic objects such as LINE, CIRCLE, PSET, PRESET and DRAW statements must use a graphic 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 off...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Illegal Function Call returns ERROR Code 5 when a parameter does not match the function type or exceeds function limitations.


1) Graphic objects such as LINE, CIRCLE, PSET, PRESET and DRAW statements must use a graphic 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. Graphic SCREEN modes are 1, 2, 7 through 13 only!


Return to ERROR Codes



Navigation:
Main Page with Articles and Tutorials
Keyword Reference - Alphabetical
Keyword Reference - By usage
Report a broken link