On 08/06/2015 07:01 PM, leledumbo wrote:
I download a file from a server that contains JSON code. I'm not sure how
to read it into something that GetJSON is able to handle.
Can't you figure out from the function interface:
http://www.freepascal.org/docs-html/fcl/fpjson/getjson.html
Dentist.pa
On Fri, 7 Aug 2015, Chris Moody wrote:
On 08/06/2015 07:01 PM, leledumbo wrote:
I download a file from a server that contains JSON code. I'm not sure how
to read it into something that GetJSON is able to handle.
Can't you figure out from the function interface:
http://www.freepascal.org/doc
On 08/07/2015 12:46 AM, Michael Van Canneyt wrote:
On Fri, 7 Aug 2015, Chris Moody wrote:
On 08/06/2015 07:01 PM, leledumbo wrote:
I download a file from a server that contains JSON code. I'm not
sure how
to read it into something that GetJSON is able to handle.
Can't you figure out from
On Fri, Aug 7, 2015 at 8:33 AM, Michael Van Canneyt
wrote:
> As it happens, I have yesterday committed an extension which allows you to
> specify that the JSON supports comments.
> Both // and /* */ are detected and discarded.
Great! =)
--
Felipe Monteiro de Carvalho
___
Hello,
I’ve just noticed that Object Pascal Handbook
(http://www.marcocantu.com/objectpascalhandbook/) is released
(avaialable @Amazon) and considering that on the back cover it says:
“The Object Pascal Handbook is the complete guide to the programming
language of Delphi and AppMethod, by Embarcad
Am 07.08.2015 08:07 schrieb "Xiangrong Fang" :
>>
>> By using the correct types for the fields:
http://www.freepascal.org/docs-html/rtl/ctypes/index-3.html
>>
>> E.g., "unsigned long" is not (always) the same as "dword".
>>
>>
> OK, as a matter of fact, the stuff was copied from output of h2pas
On 07/08/15 07:32, Jonas Maebe wrote:
> ...
> Then it seems that h2pas is pretty broken.
> ...
FWIW, I had better results in the past using a tool called ToPas
http://sourceforge.net/projects/topas/
It will run under wine in linux. However, I can't get it to pass
standard #include style directiv
On 2015-08-07 12:13, Gour wrote:
>
> I’ve just noticed that Object Pascal Handbook
> (http://www.marcocantu.com/objectpascalhandbook/) is released
Thanks for mentioning that. I'm pretty confident that much of the
language content will be applicable even when using FPC. The best
solution would pro
On 07/08/15 12:58, Peter wrote:
> However, I can't get it to pass
Should have been "get it to parse" of course.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
2015.08.07. 13:13 keltezéssel, Gour írta:
I wonder, being FPC noob, how suitable it can be for learning FPC?
Hi,
The official documentation is not a good start point?
http://www.freepascal.org/docs.var
http://wiki.freepascal.org/FPC_documentation
Gabor
__
2015-08-07 14:05 GMT+02:00 Graeme Geldenhuys
:
> Incidently, I came across a "Start programming using Object Pascal" book
> on my hard drive last night. It uses Free Pascal specifically. It was
>
also at https://archive.org/details/StartProgrammingUsingObjectPascal
--
==
Germa
On 2015-08-07 13:07, Gabor Boros wrote:
> The official documentation is not a good start point?
Indeed, Michael's work is of very high quality, and the PDF documents
look fantastic (thank you LaTeX).
@Michael van Canneyt:
Any chance of generating a A5 version of the Language Guide or would
that
On Fri, 7 Aug 2015, Graeme Geldenhuys wrote:
On 2015-08-07 13:07, Gabor Boros wrote:
The official documentation is not a good start point?
Indeed, Michael's work is of very high quality, and the PDF documents
look fantastic (thank you LaTeX).
@Michael van Canneyt:
Any chance of generating
Graeme Geldenhuys
writes:
> I'm pretty confident that much of the language content will be
> applicable even when using FPC.
Good.
Is it reasonable to assume that if there are some current ’Delphi-only’
features described in the book they are going to arrive in FPS sooner or
later?
> The best
> J:=GetJSON(json);// Error is here.
quick fix:
J:=GetJSON(json.text);
--
View this message in context:
http://free-pascal-general.1045716.n5.nabble.com/Read-JSON-from-file-tp5722198p574.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.
___
Gabor Boros writes:
> The official documentation is not a good start point?
Well, it’s pretty comperhensive, but “Reference Guide” is reference,
while, atm, I’m looking for something like manual/tutorial.
Of course, I’m sure that official docs will be indispensable later. ;)
Sincerely,
Gour
On 2015-08-07 13:28, Michael Van Canneyt wrote:>
> That's it. I just tried, works fine.
> You may need to edit the margins to use more of the page, as the
> margins are fo A4 paper.
Thanks Michael. I tried and it did seem to work.
Viewing it on my Kindle, it needed a bit more work.
- As you sa
Am 07.08.2015 14:45 schrieb "Gour" :
>
> Graeme Geldenhuys
> writes:
>
> > I'm pretty confident that much of the language content will be
> > applicable even when using FPC.
>
> Good.
>
> Is it reasonable to assume that if there are some current ’Delphi-only’
> features described in the book they
Hi,
Just curious, what is FPC's documentation license? At moment it seems
like it doesn't specify any all - which might not be a good idea. I
looked in the fpcdocs repository and in all the generated PDF's.
Normally open source projects specify a GNU Free Documentation License
v1.3 or something l
On 8/6/2015 8:25 PM, Xiangrong Fang wrote:
It seems that $packrecord does not work at all.
I always explicitly use PACKED Record as in
/T//ypeifmap = PACKED Record/
/ mem_start: dword;/
/ mem_end: dword;/
///b//ase_addr: word;/
/
Hi
I'm trying to build the fpc svn development version on Red Hat
Enterprise Linux 6.7. I already have the fpc-2.6.4-1.x86_64,
fpc-src-2.6.4-140420.x86_64 and lazarus-1.4.2-0.x86_64 rpms installed.
The build is failing like this:
# make clean all install INSTALL_DIR=/var/tmp/testfpc
.
.
[ 5
21 matches
Mail list logo