Re: [fpc-pascal] Markdown parser?

2011-12-05 Thread Graeme Geldenhuys
On 3 December 2011 14:46, Leonardo M. Ramé wrote: > Hi, does anyone knows if there is a Markdown parser already developed for > FreePascal?. Sorry, I looked everywhere on my work system and our server. I can't seem to find my markdown parser anywhere. That'll teach me to use SCM systems more often

Re: [fpc-pascal] Markdown parser?

2011-12-05 Thread Leonardo M . Ramé
> > From: Graeme Geldenhuys >To: Leonardo M. Ramé ; FPC-Pascal users discussions > >Sent: Monday, December 5, 2011 8:41 AM >Subject: Re: [fpc-pascal] Markdown parser? > >On 3 December 2011 14:46, Leonardo M. Ramé wrote: >> Hi, does anyone knows if there is a Mark

Re: [fpc-pascal] Markdown parser?

2011-12-05 Thread Graeme Geldenhuys
On 5 December 2011 13:55, Leonardo M. Ramé wrote: > Thanks Graeme, I'll take a look at it. Sorry I couldn't be of more help. I don't know what you want to do with a MarkDown parser, but I thought it worth mentioning the following. Another very nice alternative to MarkDown is AsciiDoc http://ww

[fpc-pascal] range check error while evaluating constant (number literals larger than$7fffffffffffffff)

2011-12-05 Thread Bernd
var x : QWord; begin x := $; writeln(IntToHex(x, 16)); end. this happens at compile time when trying to evaluate the literal $ testus.lpr(16,8) Warning: range check error while evaluating constants But it still seems to evaluate it correctly and the variabl

Re: [fpc-pascal] range check error while evaluating constant (number literals larger than$7fffffffffffffff)

2011-12-05 Thread Jonas Maebe
On 06 Dec 2011, at 00:39, Bernd wrote: > var > x : QWord; > > begin > x := $; > writeln(IntToHex(x, 16)); > end. All constants > $ are always parsed as int64. You have to explicitly typecast them to qword() if you want the compiler to treat them that way. Jonas