Add a new flag to WriteLong (+others)

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
miskox
User
User
Posts: 95
Joined: Sun Aug 27, 2017 7:37 pm
Location: Slovenia

Add a new flag to WriteLong (+others)

Post by miskox »

Just for a consideration of adding a new feature: maybe a new flag could be added to WriteLong (and others where approriate) to set Endianness. For example:

Code: Select all

WriteLong (#file, value[, BE|LE])
When omitted nothing changes (and is backward compatible).

Saso