DMIS S I R Entry

Dimensional Measuring Interface Standard
Standard Improvement Request

SIR No.
97-28
DMIS Release
3.0
SIR Type
Other
Severity
Documentation Deficiency
Status
Resolved
Date Submitted
March 6 1997
Date Validated
March 6 1997
Date In Process

Date Referred

Date Vote Pending

Date Closed
April 11 1997
Action
Clarifications
Submitted By
Dietmar May
Object Workshops, Inc.
PO Box 597
Whytheville VA 24382
USA
Phone: (540)223-1145
Fax: (540)223-1241
dcmay@object-workshops.com

Problem Topic
MACRO: Scoping of label, arguments?

Problem Description
Are MACRO label arguments unique within the entire program (or only within the MACRO scope)? See ref 2.2.3 "Label names can be issued only once and cannot be redefined within a particular program." If only within the macro scope, then do they hide global variables of the same name? See ref 3.1.4 where M(spechole) arguments are identical in name (but not case) with COMMON X,Y,Z variables.

References
None

Related SIRs
None

Suggested Resolution
None

Support Documentation
None


Resolution

Warning!!

The following statement is only a resolution to a Standard Improvement Request (SIR) and is NOT part of the current DMIS standard, nor is it guaranteed to become part of the next revision of the DMIS standard even if voted and accepted by the DMIS National Standards Committee. This resolution is tentative because it may not be incorporated into the next version of the standard, it could be changed prior to the next release, or it could be changed as the result of the "public review and comment" period required for the next version of the standard. If you choose to use this tentative resolution, you do so at your own risk since at this time it is not part of the DMIS standard.

The resolution is to add the following paragraph to the note for MACRO on page 282:

Dummy variables and labels perform substitution and do not have to be unique within the program, but must be unique within the macro.

Attachments
None

Notes
None

Return to SIR List