FormatAddress (open)

Format a WRD address

Syntax

LOADLIB "mod::wrd/lib/address.whlib";

STRING FUNCTION FormatAddress(RECORD addressdata, RECORD options)

Parameters

RECORD addressdata

The address to format

RECORD options

Options

language

The presentation language to use (falls back to the current tid language)

showcountry

Show the country in the address (defaults to TRUE)

Return value

STRING

Formatted address