Re: how test for empty sub-sequence?

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu