We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Submitted by: PeterWood
The Money! datatype has an optional currency prefix in Rebol 2. It appears to have been removed in Rebol 3.
If this is not just an omission, the entry about Money! in DocBase should make this clear.
I will happily update DocBase to reflect this behaviour if this is intentional.
In R2: > > dosh: USD$1000.00 > > == USD$1000.00 > > probe first dosh > > "USD" > > == "USD" > > probe second dosh > > 1000.0 > > == 1000.0 In R3: > > dosh: USD$1000.00 > > *\* Syntax error: Invalid "money" -- "USD$1000.00" > > *\* Near: (line 1) dosh: USD$1000.00 > > > > dosh: $1000.00 > > == $1000.00 > > > > probe first dosh > > *\* Script error: cannot use pick on money! value > > *\* Where: first > > *\* Near: first dosh
In R2:
> > dosh: USD$1000.00 > > == USD$1000.00 > > probe first dosh > > "USD" > > == "USD" > > probe second dosh > > 1000.0 > > == 1000.0
In R3:
> > dosh: USD$1000.00 > > *\* Syntax error: Invalid "money" -- "USD$1000.00" > > *\* Near: (line 1) dosh: USD$1000.00 > > > > dosh: $1000.00 > > == $1000.00 > > > > probe first dosh > > *\* Script error: cannot use pick on money! value > > *\* Where: first > > *\* Near: first dosh
CC – Data [ Version: alpha 32 Type: Issue Platform: All Category: n/a Reproduce: Always Fixed-in:none ]
The text was updated successfully, but these errors were encountered:
Submitted by: BrianH
Bug #250 also refers to this.
We need to discuss in R3 chat about whether this is (or should be) an intentional change to the money! type. Waiting on that discussion.
Sorry, something went wrong.
No branches or pull requests
Submitted by: PeterWood
The Money! datatype has an optional currency prefix in Rebol 2. It appears to have been removed in Rebol 3.
If this is not just an omission, the entry about Money! in DocBase should make this clear.
I will happily update DocBase to reflect this behaviour if this is intentional.
CC – Data [ Version: alpha 32 Type: Issue Platform: All Category: n/a Reproduce: Always Fixed-in:none ]
The text was updated successfully, but these errors were encountered: