RE: [fpc-pascal] Farewell

2008-05-05 Thread Chris
Why don't you "just code in pascal" any more? I hope you haven't moved to another language. Farewell! PO Box 627 00502 Karen, Nairobi, Kenya. Mobile: +254 722 996532 Fixed: +254 20 2050859 [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf O

Re: [fpc-pascal] Switch from string to ansi/wide

2008-05-05 Thread Luca Olivetti
En/na Eduardo Morras ha escrit: Can you point me on how to get a text (ascii, not utf8, utf16 or similar) file? Use "text" or "textfile" instead of "file of string". BTW, you can use "writeln" if you want to add a line terminator. Bye -- Luca ___ fp

[fpc-pascal] Farewell

2008-05-05 Thread Matt Emson
After almost 10 years of being on this list (FPC was at about 0.9x when I joined), it occurs to me that I just don't code in Pascal any more and don't foresee doing so again. I do read messages, but more from a nostalgic point of view. So, I'm going to leave the list. This will be a two stage

Re: [fpc-pascal] Pointer address into string

2008-05-05 Thread Damien Gerard
Le May 5, 2008 à 5:10 PM, ik a écrit : Look at the Format function, you can tell it to display the address of a pointer in a string. Thanks ! -- Damien Gerard [EMAIL PROTECTED] "Intelligence is 10 million rules." -- Douglas Lenat ___ fp

Re: [fpc-pascal] Pointer address into string

2008-05-05 Thread ik
Look at the Format function, you can tell it to display the address of a pointer in a string. Ido On Sun, May 4, 2008 at 7:21 PM, Damien Gerard <[EMAIL PROTECTED]> wrote: > > Hi ! > > I would like to display in a lazarus application the address of a pointer. > For this, I use : > > var s: str

[fpc-pascal] Switch from string to ansi/wide

2008-05-05 Thread Eduardo Morras
Hello: I writing an app that works with text. I use strings and define the output file as file of string. All works fine but it's limited to 255 characters. Now i changed to ansistring (every from "string" to "ansistring") and compiles without any problem, but when i open the text file i get

[fpc-pascal] Pointer address into string

2008-05-05 Thread Damien Gerard
Hi ! I would like to display in a lazarus application the address of a pointer. For this, I use : var s: string; p:pointer; [...] s := IntToStr(PtrInt(p)) However, I've got a warning (hint) from the compiler : Conversion between ordinals and pointers is not portable What is the way to

[fpc-pascal] Pointer address into string

2008-05-05 Thread Damien Gerard
Hi ! I would like to display in a lazarus application the address of a pointer. For this, I use : var s: string; p:pointer; [...] s := IntToStr(PtrInt(p)) However, I've got a warning (hint) from the compiler : Conversion between ordinals and pointers is not portable What is the way to