[fpc-pascal] Error:Operator Is not oberloaded in Free pascal

Jonas Maebe jonas.maebe at elis.ugent.be
Wed Jun 18 10:12:47 CEST 2014


On 18 Jun 2014, at 09:14, mokashe.ram wrote:

>   can any one help me on below issue, as in have one variable of type
> ARRAY, see below
>
>      *
>          bonus_details_record = RECORD
>          terminal_bonus                  : ARRAY[1..2] OF REAL;*  IF
> terminal_bonus > 0 THEN*
>
> as above statement is possible in Turbo pascal but In Free Pascal,
> I am geeting Below Error : Operator Is not
> oberloaded:'bonus_details_record.array[1..2] of real'   >'shortInt'

That cannot work either in Turbo Pascal. You probably made a mistake  
somewhere.


Jonas



More information about the fpc-pascal mailing list