[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference azur::mcc

Title:DECmcc user notes file. Does not replace IPMT.
Notice:Use IPMT for problems. Newsletter location in note 6187
Moderator:TAEC::BEROUD
Created:Mon Aug 21 1989
Last Modified:Wed Jun 04 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:6497
Total number of notes:27359

4653.0. "Several global entities in one MSL file?" by TAEC::FRESNEDA () Tue Mar 09 1993 05:31

Hello,

I wouls like to know if it's possible to include several global entities
in one MSL file.

If yes what is the exact syntax?

Christine
T.RTitleUserPersonal
Name
DateLines
4653.1Good question...MOLAR::DFLAT::PLOUFFEJerryTue Mar 09 1993 08:4239
Christine:

  I just tried to combine the MSL files of the MCC and DOMAIN global entities
  and it didn't work.  The general layout of my combo MSL file looked like this:

  MSL HEADER

    ALL TYPE DEFINITIONS

    GLOBAL ENTITY MCC
      :
      :
    END MCC

    GLOBAL ENTITY DOMAIN
      :
      :
    END DOMAIN

  END SPECIFICATION

  When I tried to run the combo through the MSL Translator I recieved the 
  following message:

  %MCCMSL-E-PARSER, syntax error: The value "GLOBAL" is not expected
  %MCCMSL-E-ERROR, MSL did not complete successfully, please see previous error

  The Translator obviously did not like the position of the second GLOBAL 
  ENTITY statement.

  May I ask why you're interested in doing this?  Is there some requirement 
  that we (engineering) should know about?

  Generally speaking, this is not a good thing to do because it means that an 
  update in one global entity causes the other(s) be updated in the 
  dictionary.  You lose some valuable "module" independence.  I don't
  recommend doing this unless you have a good reason...

                                                                      - Jerry