[fpc-pascal] CRT unit and Windows' terminal

2017-10-12 Thread Mr Bee via fpc-pascal
Hi, I want to create console app that's using box drawing characters from unicode. Before CRT unit is used, it's all fine and my program could draw table beautifully. But once I put CRT unit, those characters became garbages. But strangely, it's only happen on Windows' terminal (win10). I tried th

[fpc-pascal] Getting reason for failure with SendToRaw()

2017-10-12 Thread James Richters
I'm using SendToRaw() from a console application to send an email back to myself with attachments to aid in technical support. It always works find when I send the mail to myself. I run SendToRaw() a second time with my customers email address instead of mine so I can go over things with them,

Re: [fpc-pascal] AbstractError in 3.1.1

2017-10-12 Thread Ryan Joseph
Reported at https://bugs.freepascal.org/view.php?id=32538. I didn’t say much but I think that should be enough. Thanks. > On Oct 12, 2017, at 7:22 PM, Sven Barth via fpc-pascal > wrote: > > Wow, okay, that's a nasty one O.o Considering that the "AbstractError" is in > the System unit it's s

Re: [fpc-pascal] AbstractError in 3.1.1

2017-10-12 Thread Sven Barth via fpc-pascal
Am 12.10.2017 13:59 schrieb "Ryan Joseph" : > > > > > On Oct 12, 2017, at 5:35 PM, Michael Van Canneyt wrote: > > > > Normally not :) > > > > What Sven wanted to ascertain was why you get this error, which is totally abnormal. > > Ok did some tests and here’s an example of how to reproduce it. It’

Re: [fpc-pascal] AbstractError in 3.1.1

2017-10-12 Thread Ryan Joseph
> On Oct 12, 2017, at 5:35 PM, Michael Van Canneyt > wrote: > > Normally not :) > > What Sven wanted to ascertain was why you get this error, which is totally > abnormal. Ok did some tests and here’s an example of how to reproduce it. It’s the name “system” which is doing it and if I remov

Re: [fpc-pascal] AbstractError in 3.1.1

2017-10-12 Thread Michael Van Canneyt
On Thu, 12 Oct 2017, Ryan Joseph wrote: On Oct 12, 2017, at 4:19 PM, Sven Barth via fpc-pascal wrote: Could you try whether a test program with an abstract method that you call compiles correctly? Thanks that was the tip I needed. That unit had an abstract method and after removin

Re: [fpc-pascal] AbstractError in 3.1.1

2017-10-12 Thread Ryan Joseph
> On Oct 12, 2017, at 4:19 PM, Sven Barth via fpc-pascal > wrote: > > Could you try whether a test program with an abstract method that you call > compiles correctly? > > Thanks that was the tip I needed. That unit had an abstract method and after removing it the problem went away. Are a

Re: [fpc-pascal] compiler option for $J directive

2017-10-12 Thread Tomas Hajny
On Tue, October 10, 2017 11:21, Sven Barth via fpc-pascal wrote: > Am 10.10.2017 08:49 schrieb : >> BTW why would anyone want >> {$WRITEABLECONST ON} >> >> writable constants is an oxymoron and goes against the whole philosophy > of strict types which is central to Pascal. > > They were used mainly

Re: [fpc-pascal] AbstractError in 3.1.1

2017-10-12 Thread Sven Barth via fpc-pascal
Am 12.10.2017 10:37 schrieb "Ryan Joseph" : > > > > > On Oct 12, 2017, at 12:59 PM, Sven Barth via fpc-pascal < fpc-pascal@lists.freepascal.org> wrote: > > > > AbstractError() is the name of the function the compiler uses to replace abstract methods with (so that they generate an exception when cal

Re: [fpc-pascal] AbstractError in 3.1.1

2017-10-12 Thread Ryan Joseph
> On Oct 12, 2017, at 12:59 PM, Sven Barth via fpc-pascal > wrote: > > AbstractError() is the name of the function the compiler uses to replace > abstract methods with (so that they generate an exception when called). Thus > something very strange is going on with your installation :/ Is th