FutureProg functions

loadcoins

Currency · computer function, computer program, standard futureprog

Item loadcoins(Currency currency, Text coins)
Contexts: computer function, computer program, standard futureprog
Creates a new currency-pile item from exact coin counts such as '2 crowns 5 pennies'. Errors if the currency is null, the coin text is malformed, or a coin name is invalid.
currency: The currency definition to query, load, give, or count.
coins: A text list of coin counts and coin names, such as '3 silver 8 copper'.

← Back to FutureProg functions