Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ODD? or EVEN? can take PAIR! as its argument?? #1884

Closed
Siskin-Bot opened this issue Feb 15, 2020 · 0 comments
Closed

ODD? or EVEN? can take PAIR! as its argument?? #1884

Siskin-Bot opened this issue Feb 15, 2020 · 0 comments
Labels

Comments

@Siskin-Bot
Copy link
Collaborator

Submitted by: JerryTsai

The document says ODD? (or EVEN?) can take PAIR! as its argument, but that's not true.

>> ? odd?
USAGE:
        ODD? number

DESCRIPTION:
        Returns TRUE if the number is odd.
        ODD? is an action value.

ARGUMENTS:
        number (number! char! date! money! time! pair!)
>> odd? 0x2
** Script error: cannot use odd? on pair! value
** Where: odd?
** Near: odd? 0x2

Imported from: CureCode [ Version: alpha 111 Type: Bug Platform: All Category: Documentation Reproduce: Always Fixed-in:none ]
Imported from: metaeducation#1884

Comments:


Rebolbot added the Type.bug on Jan 12, 2016


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants