(go to: table of contents, index, list of vms_lib, prev: CREATE_DIR, next: CVTF_FROM_INTERNAL_TIME)
vms_lib.currency() does not take any arguments.
This interface uses a dynamic string descriptor in the call to
LIB$CURRENCY(), so it may raise other exceptions than those which
are documented for LIB$CURRENCY().
Examples:
CURRENCY - Get System Currency Symbol
Format:
30-NOV-1998 ZE.
currency_string = vms_lib.currency ()
Returns:
Arguments:
>>> import vms_lib
>>> currency_string = vms_lib.currency()
>>> currency_string
'$'
$ DEFINE SYS$CURRENCY "C&"
>>> vms_lib.currency()
'C&'
* don't forget to use '$ DEASSIGN SYS$CURRENCY' !
>>> vms_lib.currency('S')
Traceback (innermost last):
File "<stdin>", line 1, in ?
TypeError: function requires exactly 0 arguments; 1 given
>>>
(go to: table of contents,
index,
list of vms_lib,
prev: CREATE_DIR,
next: CVTF_FROM_INTERNAL_TIME)