? 1={}, is there really any other interpretation?
- Posted by Al Getz <Xaxo at aol.co?> Jul 14, 2007
- 715 views
Hello, For the following statement: ? 1={} could there really be any interpretation other than to compare every element of the sequence with the atom '1' ? After all, we are not trying to compare what types the two arguments are, we are trying to compare all the sequence elements to the atom '1'. In this example, ? 1={1,2,3} the number 1 is compared to every element of the sequence, and a sequence is returned with the results, and it must be a sequence returned in order to show the results. A single number like 1 or 0 would not indicate anything useful, and if we want to know what type something is, we have 'atom()' and 'sequence()'. Take care, Al E boa sorte com sua programacao Euphoria! My bumper sticker: "I brake for LED's" From "Black Knight": "I can live with losing the good fight, but i can not live without fighting it". "Well on second thought, maybe not."