[Gambas-user] length of file and byte handling
Tobias Boege
taboege at gmail.com
Thu Apr 26 20:04:12 CEST 2018
On Thu, 26 Apr 2018, KKing wrote:
> 1. Can you retrieve the length/size of a file in bytes?
>
Stat(sPath).Size [1].
> 2. Can you read specific number of bytes from file from a certain position?
>
Open, Seek and Read [2].
It's in the documentation.
Regards,
Tobi
[1] http://gambaswiki.org/wiki/lang/stat
[2] http://gambaswiki.org/wiki/cat/stream
--
"There's an old saying: Don't change anything... ever!" -- Mr. Monk
More information about the User
mailing list