Mailing lists / fpc-other / 2004-11
new to pascal
3 messages · 2 people · –
- Ttigerbalm 2
- FFrancois Schoubben 1
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
tigerbalm wrote 7 lines
Hallo Everybody!
I am new to pascal since a few days but not to programming. This code
gives an errormessage when I try to compile it. Can anyone explain why?
For type declaration, you need a =, not a :...
So, the 3rd and 4th line must be
Type
StringArray = Array of String;F.
Thanks for the ansver. but when I do like you says this error message is shown.
5 / 23 dir12.pas
Fatal: Syntax error, [ expected but OF found
About arrays the documentation says :
As of version 1.1, Free Pascal also knows dynamic arrays: In that case, the array range is omitted, as in the following example:
Type
TByteArray : Array of Byte;any moore ideas?
Show quoted text 29 lines
Från: Francois Schoubben
Till: "Other FPC related discussions."
Rubrik: Re: [fpc-other] new to pascal
Datum: Sun, 14 Nov 2004 18:41:49 +0100
tigerbalm wrote:
> Hallo Everybody!
>
>
>
> I am new to pascal since a few days but not to programming. This code
> gives an errormessage when I try to compile it. Can anyone explain
why?
>
For type declaration, you need a =, not a :...
So, the 3rd and 4th line must be
Type
StringArray = Array of String;
--
F.
_______________________________________________
fpc-other maillist -
<A HREF="http://lists.freepascal.org/mailman/listinfo/fpc-other" TARGET="_blank">http://lists.freepascal.org/mailman/listinfo/fpc-other</A>null
Otur i kärlek - www.spray.se/spel Tur i kärlek - www.spraydate.com
