Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2000-09

Re: (no subject)

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Petr Titera
Show quoted text 12 lines
>>> 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?

Show quoted text 6 lines
Jonas _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal