[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
Error 26 Integer or Real Expression was Expected pp 321
Source: Compiler
Cause: An Integer or Real type was expected here.
Remedy: Examine the statement ahead of the error cursor for the above
condition.
----------------------------------------------------------------------------
Example:
VAR
ByteVar : Byte ;
IntVar : Integer ;
RealVar : Real ;
StrVar : String [4];
BEGIN
Str (StrVar:4 ,StrVar); { Wrong - Integer or Real expected }
Str (ByteVar:4,StrVar); { Right - Byte interchanges ok }
Str (IntVar:4 ,StrVar); { Right - Intvar is type integer }
Str (IntVar:4 ,StrVar); { Right - Intvar is type integer }
END.
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson