Re: [fpc-pascal] difference between variants and simple types

2006-10-08 Thread Marc Santhoff
Am Sonntag, den 08.10.2006, 22:55 +0200 schrieb Florian Klaempfl: > Marc Santhoff schrieb: > > Hi, > > > > I'd like to know how the use of simple atomic types like integer and > > single differs from using variants holding the same types. > > > > How do they compare in speed and memory consumptio

Re: [fpc-pascal] difference between variants and simple types

2006-10-08 Thread Florian Klaempfl
Marc Santhoff schrieb: Hi, I'd like to know how the use of simple atomic types like integer and single differs from using variants holding the same types. How do they compare in speed and memory consumption? Variants are magnitudes slower. ___ fpc-p

[fpc-pascal] difference between variants and simple types

2006-10-08 Thread Marc Santhoff
Hi, I'd like to know how the use of simple atomic types like integer and single differs from using variants holding the same types. How do they compare in speed and memory consumption? Has anyone done some benchmarking in this area? TIA, Marc ___ fp

[fpc-pascal] programstart from inittab

2006-10-08 Thread Rainer Stratmann
Hello, is it possible to start a program from inittab (without console, in Linux)? When I do this the program is somewhere running. Whith 'ps auxww' there is an entry then, but nothing appears on the screen, for output I use framebuffer. Does the unit System ask if there is a tty console and fails

[fpc-pascal] Low level disc access under windows with FPC

2006-10-08 Thread Pianoman
Hello, I'd like to ask if someone has experiences with low level disk operations in windows with FPC. The program should be able to copy entire diskete to one single image file and for example extract a single file from that image or view its contents. For example how can I read one sector

Re: [fpc-pascal] THREADVARLIST_FVCOMMON & THREADVARLIST_MEMORY undefined symbols while linking

2006-10-08 Thread Jonas Maebe
On 06 Oct 2006, at 18:26, Ken G. Brown wrote: Downloaded fpc 2.0.4 yesterday and I am trying to compile a legacy CW Pro 2 app on Mac 10.4.8 with Xcode 2.4. I am getting undefined symbols THREADVARLIST_FVCOMMON & THREADVARLIST_MEMORY when trying to link, and I have no clue how to get past th

Re: [fpc-pascal] Variant record types in Sockates unit.

2006-10-08 Thread Marco van de Voort
> Alexander Todorov schrieb: > > > > I have tried working with sockets using either of the fields (with or > > without sin_ prefix) and of course it works? Why is it there I am > > wondering? > > Compatibility: e.g. posix and delphi might use different names for the > fields. So the unit support