>> probe system/locale/currencies/list [ AED AFN ALL AMD ANG AOA ARS AUD AWG AZN BAM BBD BDT BTC BGN BHD BIF BMD BND BOB BRL BSD BTN BWP BYN BZD CAD CDF CHF CKD CLP CNY COP CRC CUC CUP CVE CZK DJF DKK DOP DZD EGP ERN ETB ETH EUR FJD FKP FOK GBP GEL GGP GHS GIP GMD GNF GTQ GYD HKD HNL HRK HTG HUF IDR ILS IMP INR IQD IRR ISK JEP JMD JOD JPY KES KGS KHR KID KMF KPW KRW KWD KYD KZT LAK LBP LKR LRD LSL LYD MAD MDL MGA MKD MMK MNT MOP MRU MUR MVR MWK MXN MYR MZN NAD NGN NIO NOK NPR NZD OMR PAB PEN PGK PHP PKR PLN PND PRB PYG QAR RED RON RSD RUB RWF SAR SBD SCR SDG SEK SGD SHP SLL SLS SOS SRD SSP STN SYP SZL THB TJS TMT TND TOP TRY TTD TVD TWD TZS UAH UGX USD UYU UZS VES VND VUV WST CFA XAF XCD XOF CFP XPF YER ZAR ZMW ]
>> m: XYZ$30 *** Syntax Error: (line 1) invalid money at XYZ$30 >> append system/locale/currencies/list 'XYZ >> m: XYZ$42 == XYZ$42.00
>> ?? system/locale/currencies/on-deep-change* system/locale/currencies/on-deep-change*: func [owner word target action new index part][ if any [ word <> 'list not find [append appended] action not word? :new all [action = 'append any [find list new 255 < length? list]] 3 <> length? form new ] [cause-error 'script 'protected ] if action = 'appended [set-slot-quiet back tail list to word! uppercase form new] ]
3 <> length? form newline.
interesting, that DASH is there.
OK, but without some upper boundary we're setting up a fertile ground for things like
Anyway, if using currencies with more than 3 letters is something urgent for your project, I can look into that, but the usual procedure is that you open a wish ticket and wait for eons for it to be evaluated and then maybe fulfilled :wink:
we don't follow the standard strictly
As I said, ISO 4217 doesn't mandate that "all the rest of the currency codes not in the list are forbidden to be in use, and if you do use them then you are Bad and you should feel Bad!". By saying that ISO 4217 is supported we say that e.g.
PHP is Philippine peso and not some token that PHP Language Foundation decided to create, like Red Foundation did with RED.