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 |
Hi, I would like to define in MSL an attribute which is made up of 3 alphabetical characters. How can I restrict the length of a Latin1string subrange? (please don't suggest an enumeration, 26**3 combinations is not a reasonable option) Thanks, Philippe.
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
5262.1 | No way to limit length | RACER::dave | Ahh, but fortunately, I have the key to escape reality. | Fri Jun 25 1993 15:26 | 19 |
TYPE alphonly = 123 Latin1String [65..90, 96..122]; ATTRIBUTE alphsthree = 1234 : alphonly DEFAULT = 'AAA', DNA_CMIP_INT = 4321, DISPLAY = TRUE, ACCES = SETTABLE END ATTRIBUTE alphsthree; Warnings.... 1. This ****WILL NOT WORK**** until the MUP is out, as this area of code had some bugs that I tripped over. They have been fixed since then. (Thanks to John and Larry) 2. Since there is no limit to the length from the director side, the agent/mm will have to check the length it is passed and complain if it is in error. |