gm2
[Top][All Lists]
Advanced

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

[Gm2] Problem with ReadCard


From: Martin Kalbfuß
Subject: [Gm2] Problem with ReadCard
Date: Mon, 08 Mar 2010 18:17:44 +0100

Hi,

MODULE test;

VAR n : CARDINAL; 

BEGIN

ReadCard(n);
WriteCard(n, 1);
WriteLn();

END test.

gives for example

1
49

or

2
50

where the first is the repeated, input. What's wrong here?
Many thanks,

Martin






reply via email to

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