Re: [fpc-pascal] Strange issue with TXMLConfig

2018-01-17 Thread Vojtěch Čihák
The second TDOMNode from unit DOM (fcl-xml) has that function too, in FPC 3.0.4. V. __ Od: Vojtěch Čihák Komu: FPC-Pascal users discussions Datum: 18.01.2018 00:30 Předmět: Re: [fpc-pascal] Strange issue with TXMLConfig Hi, I can only

Re: [fpc-pascal] Strange issue with TXMLConfig

2018-01-17 Thread Vojtěch Čihák
Hi, I can only say that TDOMNode from Laz2_DOM in trunk has function CompareName.   V. __ Od: Darius Blaszyk Komu: FPC-Pascal users discussions Datum: 18.01.2018 00:11 Předmět: [fpc-pascal] Strange issue with TXMLConfig All of a sud

[fpc-pascal] Strange issue with TXMLConfig

2018-01-17 Thread Darius Blaszyk
All of a sudden I get a crash in my app trying to read a path from an XML file. The crash comes from the function TDOMNamedNodeMap.Find that crashes on this line: C := TDOMNode(FList.List^[I]).CompareName(name); The strange thing is that a simplified example app does not crash! In any case I'm 1

Re: [fpc-pascal] FPC 3.0.4 on Ubuntu Trusty

2018-01-17 Thread Graeme Geldenhuys
On 2018-01-17 20:05, Darius Blaszyk wrote: What is the most convenient way to install FPC 3.0.4 on Ubuntu Trusty? In the years that I still used Linux (Ubuntu) as my primary OS, I ALWAYS used the official Free Pascal console installer (never the bundled packages for FPC or Lazarus). Then simp

Re: [fpc-pascal] FPC 3.0.4 on Ubuntu Trusty

2018-01-17 Thread Michael Van Canneyt
On Wed, 17 Jan 2018, Darius Blaszyk wrote: About the best way to install it, I highly recommend to compile it from sources, it is the best way without any doubt. Thanks Victor! However, compiling from sources is not very practical for me. I need to install the latest FPC for a Travis-CI bui

Re: [fpc-pascal] FPC 3.0.4 on Ubuntu Trusty

2018-01-17 Thread Darius Blaszyk
> About the best way to install it, I highly recommend to compile it from > sources, it is the best way without any doubt. Thanks Victor! However, compiling from sources is not very practical for me. I need to install the latest FPC for a Travis-CI build. So therefore I need a binary distribution

Re: [fpc-pascal] FPC 3.0.4 on Ubuntu Trusty

2018-01-17 Thread Victor Campillo
On 17/01/18 21:05, Darius Blaszyk wrote: As I don't have Trusty installed I thought I would ask here instead. What is the most convenient way to install FPC 3.0.4 on Ubuntu Trusty? Is it as simple as downloading and installing the deb/rpm package from the website or is there a ppa somewhere for

[fpc-pascal] FPC 3.0.4 on Ubuntu Trusty

2018-01-17 Thread Darius Blaszyk
As I don't have Trusty installed I thought I would ask here instead. What is the most convenient way to install FPC 3.0.4 on Ubuntu Trusty? Is it as simple as downloading and installing the deb/rpm package from the website or is there a ppa somewhere for me to use? Does FPC 3.0.4 work on Trusty? Th

Re: [fpc-pascal] pas2js mailing list

2018-01-17 Thread AB
Ahh, ok, I see now. Can we change the field caption to "Security question: What would be the result of writeln(...)" then please, so even idiots like me can understand what is expected in there? :) AB On 01/17/2018 12:49 AM, James Richters wrote: I think you are overcomplicating it, the an

Re: [fpc-pascal] pas2js mailing list

2018-01-17 Thread James Richters
I think you are overcomplicating it, the answer is always:abCDfor everyone... quite literally, just put in: abCD it will not accpt anything but abCD make sure lowercase ab and uppercase CD it's not a trick question, it's just a way of keeping bots from auto registering.If it won't

Re: [fpc-pascal] pas2js mailing list

2018-01-17 Thread Michael Van Canneyt
On Tue, 16 Jan 2018, AB wrote: I still can not enter anything there that is accepted. For example: Writeln('def'+'@abc.com'); gives an error. No matter what I enter there it just gives an error "Anti-abuse result is wrong.". Small letters, capital letters, semicolon, simple letters, all vari