Login
Plus/4 EncyclopediaFirstBackNextLast

?TYPE MISMATCH ERROR
Category
Reference/Basic Error Messages

Topic
This error occurs if a numeric value is used in place of a string, or vice-versa. The only exception is when using the INPUT statement, where ?REDO FROM START occurs instead.

Examples
A = 2 + B$ String and numeric variables cannot be directly combined in expressions
A = "TEXT" A numeric variable cannot hold string data
B$ = 123 String variables do not hold actual numbers, they must be entered as text (within quotes)
LOAD B A numeric variable cannot be used for a filename, only string variables are allowed

ERR$ error number
22



Copyright © Plus/4 World Team, 2001-2024