Page 1 of 1

Ascii Flag added to Print and PrintN functions

Posted: Sun Nov 01, 2015 11:23 pm
by ElementE
Request:
An optional Ascii flag parameter added to the functions Print and PrintN.
This flag would be similar to the parameter flags in the current WriteString and WriteStringN functions.
This would give PureBasic native support in writing Ascii characters to the console.

Reason for Request:
The output of console mode programs is often redirected, or pipped, to files or other programs that require Ascii data only.
When PureBasic compiler mode becomes Unicode only, characters written to the console will be Unicode.

Reference:
http://www.purebasic.fr/english/viewtop ... 13&t=63645