Re: [fpc-pascal] questions mark linux and windows

2010-07-23 Thread Luis Fernando Del Aguila Mejía
I understand what you say. But to know the current charset in Windows, what function uses the compiler?: a) getOEMCP b) getACP c) Other thanks. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo

Re: [fpc-pascal] questions mark linux and windows

2010-07-21 Thread Jonas Maebe
On 21 Jul 2010, at 20:47, Luis Fernando Del Aguila Mejía wrote: > I wrote this program. > > var c,d: char; > Begin > c:=#$00B1; > Writeln(byte(c)); > Writeln(c); > > d:=#$0080; > Writeln(byte(d)); > Writeln(d); > End. > > When I compile on Linux, the variable "c" stores the value #$B1, and the

[fpc-pascal] questions mark linux and windows

2010-07-21 Thread Luis Fernando Del Aguila Mejía
I wrote this program. var c,d: char; Begin c:=#$00B1; Writeln(byte(c)); Writeln(c); d:=#$0080; Writeln(byte(d)); Writeln(d); End. When I compile on Linux, the variable "c" stores the value #$B1, and the variable "d" stores the value #$80. But when I compile the program in Windows, "c" st