[fpc-pascal] Re: processing quote-printable text...

2011-02-10 Thread Ben
Op 2011-02-10 22:24, waldo kitty het geskryf: > the tool to be a native OS/2 FPC tool... the only real change i had to > make was to change "string" to "ansistring"... Glad to see somebody still uses OS/2. I still have my original disks and packaging of OS/2 2.1, 3.0, 3.0 Warp Connect and Warp 4.0

Re: [fpc-pascal] openvpn client that written in fpc

2011-02-10 Thread ik
Thanks Lloyd. Ido LINESIP - Opening the source for communication http://www.linesip.com http://www.linesip.co.il On Thu, Feb 10, 2011 at 15:51, Lloyd Park wrote: > As I understand it Apple doesn't publish the low level API to support the > TUN/TAP driver needed for OpenVPN. I was able to f

[fpc-pascal] processing quote-printable text...

2011-02-10 Thread waldo kitty
i am processing an email message that is saved to a text file... currently my processing only locates the content type, plain/text or multipart... if multipart, then we look for the plain/text section and the multipart boundary... all we want is the plain/text... i've been doing this with a

Re: [fpc-pascal] String and dynamic array initialisation

2011-02-10 Thread Jonas Maebe
On 10 Feb 2011, at 17:04, Mark Morgan Lloyd wrote: > Presumably a string defined without an explicit length is a longstring Only in case of {$h+} (which is the default in Delphi mode, but not in other modes). > and starts empty. Yes. Jonas___ fpc

Re: [fpc-pascal] String and dynamic array initialisation

2011-02-10 Thread Mark Morgan Lloyd
Jonas Maebe wrote: On 10 Feb 2011, at 16:21, Mark Morgan Lloyd wrote: Are there any cases where a string variable will be allocated with anything other than zero length, In case it's a shortstring, the initial data could be anything. or a dynamic array will be allocated with anything other t

Re: [fpc-pascal] String and dynamic array initialisation

2011-02-10 Thread Marco van de Voort
In our previous episode, Mark Morgan Lloyd said: > Are there any cases where a string variable will be allocated with > anything other than zero length, or a dynamic array will be allocated > with anything other than zero elements? Global string variables can be initialized. var x : ansistring

Re: [fpc-pascal] String and dynamic array initialisation

2011-02-10 Thread Jonas Maebe
On 10 Feb 2011, at 16:21, Mark Morgan Lloyd wrote: Are there any cases where a string variable will be allocated with anything other than zero length, In case it's a shortstring, the initial data could be anything. or a dynamic array will be allocated with anything other than zero element

[fpc-pascal] String and dynamic array initialisation

2011-02-10 Thread Mark Morgan Lloyd
Are there any cases where a string variable will be allocated with anything other than zero length, or a dynamic array will be allocated with anything other than zero elements? -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers

[fpc-pascal] Re: Is LNET dead?

2011-02-10 Thread Ben
Op 2011-02-10 16:18, Felipe Monteiro de Carvalho het geskryf: > Of course lnet is not dead: > > http://wiki.lazarus.freepascal.org/index.php?title=lNet&action=history > Well, from the commit log it seems pretty quiet... Or maybe that just means that the code is super stable, and everything neede

Re: [fpc-pascal] Is LNET dead?

2011-02-10 Thread Felipe Monteiro de Carvalho
Of course lnet is not dead: http://wiki.lazarus.freepascal.org/index.php?title=lNet&action=history -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Is LNET dead?

2011-02-10 Thread Marcos Douglas
On Thu, Feb 10, 2011 at 10:54 AM, Ben wrote: > Hi, > > Based on the LNET website > [http://lnet.wordpress.com/usage/dependencies-system-requirements/] it > seems that LNet is pretty much abandoned software. It still references > Lazarus 0.9.24 and FPC 2.2.0 which are both rather old - or maybe the

[fpc-pascal] Is LNET dead?

2011-02-10 Thread Ben
Hi, Based on the LNET website [http://lnet.wordpress.com/usage/dependencies-system-requirements/] it seems that LNet is pretty much abandoned software. It still references Lazarus 0.9.24 and FPC 2.2.0 which are both rather old - or maybe the website is just very outdated?

Re: [fpc-pascal] openvpn client that written in fpc

2011-02-10 Thread Lloyd Park
As I understand it Apple doesn't publish the low level API to support the TUN/TAP driver needed for OpenVPN.   I was able to find an OpenVPN client, but only for jailbroken iphones.  I have no idea if it works.  Lloyd B. Parklloyd.b.p...@gmail.com On Feb 10, 2011, at 7:36 AM, ik wrote:Hello,I'm no

Re: [fpc-pascal] Classes and class methods

2011-02-10 Thread Mark Morgan Lloyd
Luiz Americo Pereira Camara wrote: On 9/2/2011 07:58, Mark Morgan Lloyd wrote: Is it possible to put a class (not an instance) in a variable or array element, and to use this to call a class method? I'm defining a hierarchy of classes and it would be convenient if it were possible to register

[fpc-pascal] openvpn client that written in fpc

2011-02-10 Thread ik
Hello, I'm not sure if it's an OT or not, so sorry if it is. I'm looking for an openvpn client that written in Pascal and is open source, and I could compile it to work on iPhone. Does anyone know of something like this ? Thanks, Ido LINESIP - Opening the source for communication http://www.li

Re: [fpc-pascal] Classes and class methods

2011-02-10 Thread Luiz Americo Pereira Camara
On 9/2/2011 07:58, Mark Morgan Lloyd wrote: Is it possible to put a class (not an instance) in a variable or array element, and to use this to call a class method? I'm defining a hierarchy of classes and it would be convenient if it were possible to register the fact that a class had a particu