gm2
[Top][All Lists]
Advanced

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

Re: [Gm2] ReadString


From: Andreas Fischlin
Subject: Re: [Gm2] ReadString
Date: Mon, 12 Jan 2009 08:36:51 +0100
User-agent: Thunderbird 2.0.0.19 (Macintosh/20081209)

Dear Antonio,

In Modula-2 blanks do not terminate strings, only character 0C does terminate a string (ARRAY OF CHAR) by convention. If you really used the code below, this looks like a bug. I would guess somewhere in procedure ReadString or the routines it calls.

Regards,
Andreas
 


Antonio Gomez wrote:
Hi!

U know how can i get a String with blank spaces?

Ok, its something like this:

WriteString ("Write your name:");
ReadString(name);
WriteLn;
WriteString(name);

* If 'name' got two words, like "Antonio Gomez", this code only print "Antonio" in WriteString(name).

Do you know what i could do to get "Antonio Gomez" and print it in the same line?

Thanks!

--
Antonio Gómez Antoranz

_______________________________________________ gm2 mailing list address@hidden http://lists.nongnu.org/mailman/listinfo/gm2
--
________________________________________________________________________
ETH Zurich
Prof. Dr. Andreas Fischlin
Systems Ecology - Institute of Integrative Biology
CHN E 21.1
Universitaetstrasse 16
8092 Zurich
SWITZERLAND

address@hidden
www.sysecol.ethz.ch

+41 44 633-6090 phone
+41 44 633-1136 fax

             Make it as simple as possible, but distrust it!
________________________________________________________________________
 

Attachment: andreas_fischlin.vcf
Description: Vcard


reply via email to

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