Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2008-05

FPC Syntax

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Damien Gerard

Just for my personal knowledge, does anybody know what that syntax means :

Procedure Reset(var f : TypedFile);   [INTERNPROC:
fpc_in_Reset_TypedFile];
(systemh.inc,653)

Thanks

Damien Gerard "Intelligence is 10 million rules." -- Douglas Lenat

Reply by email

Michael Van Canneyt
to Damien Gerard
Damien Gerard wrote 5 lines
Just for my personal knowledge, does anybody know what that syntax means : Procedure Reset(var f : TypedFile); [INTERNPROC: fpc_in_Reset_TypedFile]; (systemh.inc,653)

This is an internal compiler routine: when the compiler encounters a

  reset(afile);

where afile is a typed file, then this routine is called.

The internproc number is hard-coded in the compiler.

Michael.

Reply by email

Damien Gerard
to Michael Van Canneyt
Michael Van Canneyt wrote 17 lines
On Mon, 26 May 2008, Damien Gerard wrote: > > Just for my personal knowledge, does anybody know what that syntax > means : > > Procedure Reset(var f : TypedFile); [INTERNPROC: > fpc_in_Reset_TypedFile]; > (systemh.inc,653) This is an internal compiler routine: when the compiler encounters a reset(afile); where afile is a typed file, then this routine is called. The internproc number is hard-coded in the compiler.

Thanks

Damien Gerard "Intelligence is 10 million rules." -- Douglas Lenat

Reply by email