lout-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

macros using @DocumentLayout


From: Jeff Kingston
Subject: macros using @DocumentLayout
Date: Mon, 10 Jan 1994 08:29:05 +1100

        I want to define Macros which use Macros defined in the dl
        package in their body.  The Macro definitions can not be
        placed before the @Use, because the Macros of DocumentLayout
        are not defined yet.  The Macro definitions can not be
        placed after the @Use, because Macro definitions are not
        allowed there.

        Whats the best way to do it?

This is what the "import" feature is for.  You do it like this:

        @SysInclude { dl }
        ...

        import @DocumentLayout
        def @Zulu { @I @Date ... }

        import @DocumentLayout
        macro @Left { @LD @I lines @Break }
        ...

        @Use { @DocumentLayout ... }

Definitions and macros preceded by "import @DocumentLayout" may refer
to the EXPORTED definitions and parameters of @DocumentLayout.  See
the reference manual, section 2.2

Jeff.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]