Short: Simple currency conversion script Author: ahoffman@clear.net.nz (Anthony Hoffman) Uploader: ahoffman clear net nz (Anthony Hoffman) Type: util/rexx Version: 0.7 Replaces: util/rexx/Convert.lha Requires: Amiga compatible system with TCP/IP Stack Architecture: m68k-amigaos Distribution: Aminet ------------------------------------------------------ Arexx script to convert a value of one currency type to another. Based on Convert 0.6 by Michael Trebilcock which used xe.com to perform the currency exchange. Due to changes to xe.com, v0.6 no longer works. v0.7 now uses a simple text based web service from finance.yahoo.com to source the exchange rate, the currency value calculation is now performed within the script. Requires an Amiga compatible system running a TCP/IP stack, e.g. Miami, AmiTCP, Genesis. Created with and tested on A4000T/68060 AmigaOS3.9 and MiamiDX. Both an Arexx script and a Rexecute compiled version of the script for 68k AmigaOS is provided. Usage for Convert.rexx: RX Convert.rexx e.g. RX Convert.rexx 1 AUD USD Usage for Convert: Convert " " e.g. "Convert 1 AUD USD" The compiled version of Convert must be run from the CLI (command line) and requires quotation marks around the arguments, something to do with Rexecute. Floating point numbers are accepted by both scripts. e.g. RX Convert.rexx 1.75 AUD USD Convert "1.75 AUD USD" See http://finance.yahoo.com/currency-converter for a full list of currency codes. Requires a CSS capable web browser - click on 'Browse All' to see list of currency codes supported by finance.yahoo.com.