Hi REBOLs, I would like to check if a provided value meets pre-defined type requirements... So I define the valid types into a block 'b: >> b: [integer! string!] == [integer! string!] >> first b == integer! >> value: make integer! 1 == 1 >> type? value == integer! And I check the requirement: >> (type? value) = first b == false Of course the assumed answer was 'right... What did I wrong ? Is there another way to get what I want ? Any idea, suggestion ? thx a lot for answering CU, chr== -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
[REBOL] How to check validity of types ?
CRS - Psy Sel/SPO, COUSSEMENT Christophe, CPN Mon, 15 Jan 2001 02:00:20 -0800
- [REBOL] Re: How to check val... CRS - Psy Sel/SPO, COUSSEMENT Christophe, CPN
- [REBOL] Re: How to chec... Brett Handley
- [REBOL] Re: How to chec... Elan
