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 |
I am trying to use a range that includes negative numbers eg. TYPE MyRange = 1000 Integer8[-5..10]. MSL keeps complaining that the '-' character is unacceptable ('unexpected' is actually the word used in the error message). I also cannot specify a negative default value in my ms file. I get the same error message. Suggestions? lynn dolan
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
3348.1 | Currently no INTEGER32 support (workaround specified) | TOOK::L_GROSSMAN | Tue Jul 14 1992 08:17 | 10 | |
Unfortunately the MSL compiler does not support negative numbers. This functionality will hopefully be added in some future release. You can however specify any unsigned integer that can be saved in 32 bits. In this way you could refer to -5 as FFFFFFFB for the datatype Integer32. The range values are saved in an Unsigned 32 bit value but its up to the user that read the dictionary on how to interpret the returned value. | |||||
3348.2 | QAR #3280 in MCC_INTERNAL | TOOK::MCPHERSON | Life is hard. Play short. | Tue Jul 14 1992 18:26 | 0 |