Re: how test for empty sub-sequence?
- Posted by Bernie Ryan <bwryan at PCOM.NET> Jan 29, 2000
- 710 views
On Sat, 29 Jan 2000 08:29:12 -0500, Irv Mullins <irv at ELLIJAY.COM> wrote: >This kind of thing happens to all of us. Point is, it shouldn't have to >happen! >If we could specify the type of each subsequence, we would be warned as soon >as we tried to assign "Courier" to a subsequence which was previously >defined >to hold an integer or an atom. > >e.g: >MyFont = {string Name, integer Size, integer Style} >MyFont[Name] = 12 -- error >MyFont[Size] = "Courier" -- error Irv Why don't you use user define type ? Bernie