[fpc-pascal] Re: [Lazarus] Finished full JVM Android application

2011-12-26 Thread Michael Van Canneyt
On Mon, 26 Dec 2011, Sven Barth wrote: Hello together! Today I've finished my first JVM Android application. This could as well be the first (or at least one of the first) complete JVM Android app written in Pascal at all! A nice christmas present for the whole FPC team, thank you :-)

[fpc-pascal] Re: How to create this union ?

2011-12-26 Thread ik
Better redefining my problem: I have a first union. But on records we do not end case with end. and beneath the union, I have to place another union, or another fields that is not part of the union. How can I do that ? Thanks, Ido On Mon, Dec 26, 2011 at 16:41, ik ido...@gmail.com wrote:

Re: [fpc-pascal] How to create this union ?

2011-12-26 Thread dmitry boyarintsev
Chelper also has hard-timer converting the structure: It failed on union nf_inet_addr haddr, hmask; so I had to comment it out. Some structures are missing completely. type TAuxType0 = packed record case Integer of 0:(u8 : uint8_t;u8_range : array [0..1] of uint8_t;syslog_level :

Re: [fpc-pascal] Map of values to array of records

2011-12-26 Thread Jiří Pavlovský
On 26.12.2011 12:50, Howard Page-Clark wrote: On 25/12/11 10:07, Jiří Pavlovský wrote: What do you mean ? I mean the code below works ok, so I don't undestand why it doesn't compile when I use similar construct inside a function. const ranges: array [1..2] of TMyRec = (

Re: [fpc-pascal] Re: Forward declarations

2011-12-26 Thread Timothy Groves
On 11-12-23 07:31 AM, leledumbo wrote: Back to high school time, I use it for turn based battle system for a game. I have two mutually (tail-)recursive procedures where one is the player movement decision (full with prompts) while the other is the enemy's (some AI calculation takes the