[Implemented] Please add read/write functions

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
fsw
Addict
Addict
Posts: 1603
Joined: Tue Apr 29, 2003 9:18 pm
Location: North by Northwest

[Implemented] Please add read/write functions

Post by fsw »

Please add missing file read/write functions before releasing 4V4 final - for the 2 new types I mean...

Convering a project to PureBasic which utilizes unsigned types is not 100% possible without WriteAscii(#File, ascii.a) and WriteUnicode(#File, unicode.u). Don't need the read functions right now but it's better to get them all anyway...

Thanks
fsw

BTW 1: thanks for implementing .a and .u it's really appreciated

BTW 2: nice to see that PeekA and PeekU are already implemented (maybe even PokeA and PokeU... didn't look)
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

Re: Please add read/write functions before releasing 4V4 final

Post by blueznl »

Browse a little, I think someone was bothering the devs about these two functions and the planned function names :twisted: :oops:
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Please add read/write functions before releasing 4V4 final

Post by Fred »

It's already done for the next beta. Only the 'Read' functions are actually useful, as writebyte/word() will correctly store unsigned number in binary format (Read/Write has been added anyway).
User avatar
fsw
Addict
Addict
Posts: 1603
Joined: Tue Apr 29, 2003 9:18 pm
Location: North by Northwest

Re: Please add read/write functions before releasing 4V4 final

Post by fsw »

Fred wrote:It's already done for the next beta. Only the 'Read' functions are actually useful, as writebyte/word() will correctly store unsigned number in binary format (Read/Write has been added anyway).
Thanks
fsw
Post Reply