[Gambas-user] Question about WRITE # statement

Benoit Minisini gambas at ...1...
Thu Jul 14 21:20:38 CEST 2005


On Tuesday 12 July 2005 22:02, nando wrote:
> Consider the following fragment...
>
> s = "HELLO"
> WRITE #h_file, s, 14000
>
> Question:
>
> Does WRITE just write 5 chars or will it pad to 14,000 length?
>
> -Fernando
>

Good question :-) WRITE will write 14,000 bytes, by padding with zeros.

Regards,

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the User mailing list