gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gm2] Incompatible CARDINAL8


From: Martin Kalbfuß
Subject: [Gm2] Incompatible CARDINAL8
Date: Thu, 10 Jun 2010 15:45:12 +0200

Hi,

 I have a record

 Version = RECORD
     major : SYSTEM.CARDINAL8;
     minor : SYSTEM.CARDINAL8;
     path  : SYSTEM.CARDINAL8;
 END;

If I do a STextIO.WriteCard(v.major, 1);

I get garbage like 134681089S as output. I assumed, that a CARDINAL8 is
casted to a CARDINAL.

if I do

VAR major : CARDINAL;

major := v.major;

STextIO.WriteCard(major, 1);

The result is correct.

Compiler version is 0.78  (20100606)
  




reply via email to

[Prev in Thread] Current Thread [Next in Thread]