[fpc-pascal]Something of a mystery....

2003-08-27 Thread L D Blake
Ok guys I've got something of a mystery going on at this end and I sure could use some suggestions... My system: Amd 1800xp, 256mb ram, gigabyte motherboard, TNT 64 video, no overclocks or other "enhancements"... Wind2000 sp4 with free pascal on it's own partition. I'm working on a piece of sof

Re: [fpc-pascal]2 questions on ansistrings

2003-08-27 Thread Michael Van Canneyt
On Wed, 27 Aug 2003, Mark Emerson wrote: > 1. If a segment is deleted from an ansistring, e.g. ... > > s := 'abcdefghijklmnop'; > delete (s, 5, 6); > > yielding s = 'abcdelmnop' > > ...does the system "shift" the 'lmnop' to the left, or does the string > get hooked together with pointers, thus s

[fpc-pascal]2 questions on ansistrings

2003-08-27 Thread Mark Emerson
1. If a segment is deleted from an ansistring, e.g. ... s := 'abcdefghijklmnop'; delete (s, 5, 6); yielding s = 'abcdelmnop' ...does the system "shift" the 'lmnop' to the left, or does the string get hooked together with pointers, thus saving much time with long strings? 2. Is there any documen

Re: [fpc-pascal]Reading in image files...

2003-08-27 Thread Michael Van Canneyt
On Wed, 27 Aug 2003, Rainer Hantsch wrote: > On Wed, 27 Aug 2003, Michael Van Canneyt wrote: > | Only if you are prepared to use classes. > | > | Michael. > > =8-( > > Ok, so I will have to use them... :-( > > Does fpc 1.0.4 have everything installed what is required, or must I add a lot > of th

Re: [fpc-pascal]Reading in image files...

2003-08-27 Thread Rainer Hantsch
On Wed, 27 Aug 2003, Michael Van Canneyt wrote: | Only if you are prepared to use classes. | | Michael. =8-( Ok, so I will have to use them... :-( Does fpc 1.0.4 have everything installed what is required, or must I add a lot of things to make it working? I remember that I had always problems wi

Re: [fpc-pascal]Reading in image files...

2003-08-27 Thread Michael Van Canneyt
On Wed, 27 Aug 2003, Rainer Hantsch wrote: > Hello! > > I would like to read in image files into my command line program on LINUX > _without_ doing all the low level stuff by hands. I would like to use some > shared libraries for that. > > Because I have absolutely no knowledge about how to writ

[fpc-pascal]Reading in image files...

2003-08-27 Thread Rainer Hantsch
Hello! I would like to read in image files into my command line program on LINUX _without_ doing all the low level stuff by hands. I would like to use some shared libraries for that. Because I have absolutely no knowledge about how to write a program which uses such libraries, how to load it, how

Re: [fpc-pascal]TStringList.indexOf (case-sensitivity)

2003-08-27 Thread Michael Van Canneyt
On Wed, 27 Aug 2003, James Mills wrote: > On Wed, Aug 27, 2003 at 09:39:10AM +0200, Michael Van Canneyt wrote: > > > > > > On Wed, 27 Aug 2003, James Mills wrote: > > > > > Hi, > > > > > > Is TStringList.indexOf case sensitive or insensitive ? > > > TStrings.indexOf is case insensitive, but TStr

Re: [fpc-pascal]TStringList.indexOf (case-sensitivity)

2003-08-27 Thread James Mills
On Wed, Aug 27, 2003 at 09:39:10AM +0200, Michael Van Canneyt wrote: > > > On Wed, 27 Aug 2003, James Mills wrote: > > > Hi, > > > > Is TStringList.indexOf case sensitive or insensitive ? > > TStrings.indexOf is case insensitive, but TStringList.indexOf overrides > > the TStrings.indexOf impleme

Re: [fpc-pascal]Two Questions

2003-08-27 Thread Olle Raab
> > On Sat, 23 Aug 2003, Luis Del Aguila wrote: > >> Two questions >> >> 1.- What is the difference with seekeoln() and eoln() functions? > > The first advances the file position to the end of the line. > The second returns true if the current position is the end of the line. > >> 2.- What is

Re: [fpc-pascal]TStringList.indexOf (case-sensitivity)

2003-08-27 Thread Michael Van Canneyt
On Wed, 27 Aug 2003, James Mills wrote: > Hi, > > Is TStringList.indexOf case sensitive or insensitive ? > TStrings.indexOf is case insensitive, but TStringList.indexOf overrides > the TStrings.indexOf implementation accoriding to the documentation. It is case insensitive, but this was changed