[fpc-pascal](no subject)

Petr Titera P.Titera at century.cz
Fri Sep 22 07:16:19 CEST 2000


>>>>     blockwrite(file, par, count) suffice?
>>>
>>>No, you must do a
>>>
>>>  BlockWrite(File,Pointer(Par)^,Length(Par));
>>>
>>Have I do it this way in non constant case? I use BlockWrite(File, Par[1],
>>count) regulary and it works...
>
>That's something different from what you wrote first. As long as count <=
>length(par), it will work too indeed.
>


Yes but when par is passed as const parameter compilation ends with Illegal
expression error...
Is it bug or my fault?

>
>Jonas
>
>_______________________________________________
>fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
>http://lists.freepascal.org/mailman/listinfo/fpc-pascal





More information about the fpc-pascal mailing list