Re: [fpc-pascal] YAML support

2010-02-03 Thread Wimpie Nortje
JSON is not related to YAML at all except in that it is a simple data format. That's true, but from the yaml v1.2 spec: "YAML can therefore be viewed as a natural superset of JSON, offering improved human readability and a more complete information model. This is also the case in practice;

Re: [fpc-pascal] TVision dynamic NewSItem for RadioButton

2010-02-03 Thread Marco van de Voort
In our previous episode, Zitt Zitterkopf said: > > I have a list of strings inside a TStringList which contains the contents > of my TurboVision RadioButton group. > > This TStringList has a variable data payload... there may be 1 entry... > there may be 10 entries. > > I need to create a RadioB

Re: [fpc-pascal] Assigning events in objects

2010-02-03 Thread Marco van de Voort
In our previous episode, Zitt Zitterkopf said: > I'm writing a TurboVision App to cross compile to Linux - but debugging on my > main Win32 box. > > In this app; I'm attempting to use the TFPTimer component to trigger an > event every 1000ms. I can't get the bugger to compile; despite google >

[fpc-pascal] TVision dynamic NewSItem for RadioButton

2010-02-03 Thread Zitt Zitterkopf
I have a list of strings inside a TStringList which contains the contents of my TurboVision RadioButton group. This TStringList has a variable data payload... there may be 1 entry... there may be 10 entries. I need to create a RadioButton Group with a variable number of entries; however, m

Re: [fpc-pascal] YAML support

2010-02-03 Thread Michael Van Canneyt
On Wed, 3 Feb 2010, Wimpie Nortje wrote: Hi list, Are there plans to implement YAML? I found JSON support but that is missing a feature I would like to use. Apparently JSON is a subset of YAML, but it doesn't have a direct way to capture binary data. JSON is not related to YAML at all exc

[fpc-pascal] YAML support

2010-02-03 Thread Wimpie Nortje
Hi list, Are there plans to implement YAML? I found JSON support but that is missing a feature I would like to use. Apparently JSON is a subset of YAML, but it doesn't have a direct way to capture binary data. ___ fpc-pascal maillist - fpc-pascal@l

Re: [fpc-pascal] Assigning events in objects

2010-02-03 Thread Michael Van Canneyt
On Wed, 3 Feb 2010, Zitt Zitterkopf wrote: All, I'm writing a TurboVision App to cross compile to Linux - but debugging on my main Win32 box.   In this app; I'm attempting to use the TFPTimer component to trigger an event every 1000ms. I can't get the bugger to compile; despite google search

[fpc-pascal] Assigning events in objects

2010-02-03 Thread Zitt Zitterkopf
All, I'm writing a TurboVision App to cross compile to Linux - but debugging on my main Win32 box. In this app; I'm attempting to use the TFPTimer component to trigger an event every 1000ms. I can't get the bugger to compile; despite google searches and a lot of experience in Delphi. The c

Re: [fpc-pascal] Help converting C code

2010-02-03 Thread leledumbo
> 1. no record packing for pascal specified > 2. no record packing for C specified > 3. does not show how the file on the pascal side is opened, mostly >to check if the ,1 in reset(f,1) is not missing 3 OK 1 and 2, since the original C code doesn't specify it either, should I use {$packrecord

Re: [fpc-pascal] Help converting C code

2010-02-03 Thread Marco van de Voort
In our previous episode, leledumbo said: > > corresponds to this C code: 1. no record packing for pascal specified 2. no record packing for C specified 3. does not show how the file on the pascal side is opened, mostly to check if the ,1 in reset(f,1) is not missing ___