CreateFile and BOM

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Mesa
Enthusiast
Enthusiast
Posts: 433
Joined: Fri Feb 24, 2012 10:19 am

CreateFile and BOM

Post by Mesa »

A little thing, just add an flag like #Pb_BOM in the CreateFile() procedure, to create a file with a BOM, without using the WriteStringFormat() procedure.

M.
Quin
Addict
Addict
Posts: 1122
Joined: Thu Mar 31, 2022 7:03 pm
Location: Colorado, United States
Contact:

Re: CreateFile and BOM

Post by Quin »

+1
User avatar
mk-soft
Always Here
Always Here
Posts: 6201
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: CreateFile and BOM

Post by mk-soft »

-1

Is simple to make it self
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Quin
Addict
Addict
Posts: 1122
Joined: Thu Mar 31, 2022 7:03 pm
Location: Colorado, United States
Contact:

Re: CreateFile and BOM

Post by Quin »

mk-soft wrote: Fri Jun 06, 2025 2:40 pm -1

Is simple to make it self
So?
Isn't the point of PB to make life easier for you as a programmer?
PBJim
Enthusiast
Enthusiast
Posts: 293
Joined: Fri Jan 19, 2024 11:56 pm

Re: CreateFile and BOM

Post by PBJim »

-1

It's easy with an existing function. Note also that BOM is only a best-endeavour; a nominal indication of form. On that basis, I'd feel there is limited justification for giving it prominence.

Frankly, prefer to see requests that add substantial value and provide something developers couldn’t do previously.
Post Reply