gm2
[Top][All Lists]
Advanced

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

Re: [Gm2] Modula 2 Syntax


From: address@hidden
Subject: Re: [Gm2] Modula 2 Syntax
Date: Wed, 05 Aug 2015 17:41:40 +0200

Hi Gaius,

the declaration is:
TYPE  Str20   = ARRAY [0.. 19] OF CHAR;

Regards, Georg
-----Original-Nachricht-----
Betreff: Re: [Gm2]  Modula 2 Syntax
Datum: Wed, 05 Aug 2015 16:43:49 +0200
Von: Gaius Mulley <address@hidden>
An: "address@hidden" <address@hidden>

Gaius Mulley <address@hidden> writes:

Hello Georg,

>> I want to use a one letter string literal in a procedure call where a
>> String parameter is required. 
>>
>> WriteToken("=");
>>
>> but am getting compile errors:
>>
>> error: 1st actual parameter type 'CHAR' is incompatible with the
>> formal parameter type 'Str20'.

could I ask you for the type declaration of Str20 ?  Is it ARRAY OF CHAR
or ARRAY [0..19] OF CHAR ?

thanks,
Gaius






reply via email to

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