Variable scope

If a variable is defined at the `top-level' of a macro (that is, not within a subroutine or a function) then its value persists and is available to other macros until the next time the variable is set or HoTMetaL PRO closes (at which time it clears everything and shuts down the script engine).

This provides a certain amount of extra programming flexibility but there are some things you should bear in mind:


Right arrow
Next Topic
Left arrow
Previous Topic
Table of contents
Table of Contents

Copyright © SoftQuad Software Inc. 1999