News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Passing Variables between modules

Started by Don57, June 12, 2008, 02:10:28 PM

Previous topic - Next topic

Don57

I am trying to pass counters and delimiters, all numeric, between different modules. With no success.


hutch--

Don,

The trick is to declare the variables as PUBLIC in the module where they are created and in modules that use them, set them as EXTERNDEF so it knows they are not in the local module.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

Don57

Thank you Hutch, that's exactly what I needed to know. :bg