[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

9.6 all

Synopsis

 
export foo = all;

Description

`all' is a predefined export interface for Extended Pascal modules. You can use it to export all identifiers declared in an interface module automatically.

Conforming to

`All' is a GNU extension.

Example

 
program AllDemo;

import AllInterface in 'allmodule.pas';

begin Bar (a); WriteLn (b) end.

 
module AllModule interface;

export AllInterface = all; { Same as `AllInterface = (a, b, Bar);' }

var a, b: Integer;

procedure Bar (i: Integer);

end.

module AllModule implementation;

procedure Bar (i: Integer); begin b := a end;

to begin do a := 42;

end.

See also

section 8.1.8.1 The Source Structure of ISO-10206 Extended Pascal Modules.



This document was generated by Frank Heckenbach on May, 10 2002 using texi2html