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 |
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.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
29.1 | MSL allows multiple subranges on integer DTs | TOOK::L_GROSSMAN | Fri Dec 01 1989 13:55 | 8 | |
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.2 | SRM is in error then.. | SCRPIO::LIZBICKI | Fri Dec 01 1989 15:39 | 12 | |
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.3 | dave moore owns dtypes | GOSTE::CALLANDER | Mon Dec 04 1989 15:19 | 6 | |
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. |