Re: turbo pascal question
- From: Femme Verbeek <fv@xxxxxxxxxxxxxxxx>
- Date: Thu, 22 Dec 2005 03:11:45 +0100
Bruce Roberts schreef:
"Oliver Bleckmann" <Oliver-Bleckmann@xxxxxxxxxx> wrote in message news:do9i03$ko6$1@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,
my brother asked me about this, now I ask you.
This should work for FreePascal, but not for Borland Pascal 6.0 or 7.0 - WHY?
IIRC BP function results were either passed back in registers, an fpu register, or as a double word stack entry (in the case of strings). While I haven't found an explicit explanation, I would expect that neither records or array types could be used as function result types.
Correct.
I wouldn't be surprised if sets, at least those with a base type of cardinality > 32, were also disallowed.sets in BP/TP are restricted to 256 entries so it can be stored in one byte.
-- Femme .
- Follow-Ups:
- Re: turbo pascal question
- From: Hans-Peter Diettrich
- Re: turbo pascal question
- From: Bruce Roberts
- Re: turbo pascal question
- References:
- turbo pascal question
- From: Oliver Bleckmann
- Re: turbo pascal question
- From: Bruce Roberts
- turbo pascal question
- Prev by Date: Re: fast drawing in delphi
- Next by Date: Re: fast drawing in delphi
- Previous by thread: Re: turbo pascal question
- Next by thread: Re: turbo pascal question
- Index(es):