[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

29.0. "Numeric Subrange Question" by SCRPIO::LIZBICKI () Thu Nov 30 1989 21:25

   In the SRM (T1.0.0), page 250, section 9.3.7 on Subrange:

   The MSL syntax for numeric subranges makes it look like only
   one subrange is supported:

        TYPE new-type 13 Integer8 = [1..32];

   However, the MSL compiler will compile, and the resulting command
   file passes successfully through DAP, with the character construct 
   format for numeric subranges:

       TYPE new-type 13 Integer8 = [1..32, 64..128];

   Is this an error in the SRM, or in MSL/DAP?

T.RTitleUserPersonal
Name
DateLines
29.1MSL allows multiple subranges on integer DTsTOOK::L_GROSSMANFri Dec 01 1989 16:558
    
    MSL allows multiple subranges for integer datatypes. I will enter
    a QAR into the MCC_TOOL database on MSL. Note, that is is a #4
    priority since the workaround is not to specify more than one
    subrange on an integer datatype.
    
    MSL does complain if a subrange is used for a datatype that does
    not allow it.
29.2SRM is in error then..SCRPIO::LIZBICKIFri Dec 01 1989 18:3912
   Don't enter a QAR in the MCC_TOOL database... it looks like the
   error is in the T1.0.0 SRM.  The MSL does accept multiple subranges
   of numerics.  However, the way the Subrange MSL syntax is described
   in the SRM, it would appear that you cannot use multiple subranges
   for numerics.

   See section 9.3.7, under MSL Syntax, <numeric-construct>

   I will enter an SRM QAR.  I hadn't entered a QAR because I wasn't 
   sure whether to enter an MSL or SRM qar.

29.3dave moore owns dtypesGOSTE::CALLANDERMon Dec 04 1989 18:196
    
    Lynne if you want more info send mail to took::d_moore. Dave owns
    the data types chapter in the SRM. I made him aware of your note
    and he was looking into it from this end. I believe he came to the
    same conclusion.