| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| Hello all! I was trying to compile something a I made with freepascal, that I suppose was standard, but I can't. Maybe you can help me. ************************************************** ***** program pru; type Str acked array[1..8] of char;var s:Str; begin readln (s); writeln ('You have just written that: ',s); end. ************************************************** ***** I let you this snippet that is the thing that I don't understand. The message I get is that the type Str can't be read or written. PD:Sorry for my english. I appreciate your help. Zaka. |
|
#2
| |||
| |||
| On 2008-01-14, Zaka E-Lab <shanatorio@gmail.com> wrote: > begin > readln (s); > writeln ('You have just written that: ',s); > end. > ************************************************** ***** > I let you this snippet that is the thing that I don't > understand. > > The message I get is that the type Str can't be read or > written. > > PD:Sorry for my english. > > I appreciate your help. After correcting a : to an = in the type line it works here: D:\testing>blatest 12345 You have just written that: 12345 So I think you'll have to provide some more info. p.s. I f-uped to comp.lang.pascal.misc because FPC's more on topic there. |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.