tcl.date.iconv

Subroutine/TCL, Releases: AP

Calls external subroutine to iconv date argument.

Syntax

call date.iconv(date.argument)

Description

is a Pick/BASIC subroutine which converts an external date to its internal format.

The external subroutine only allows one argument to be passed. This argument is put through the 'iconv' function with a 'd' processing code. The internally converted response replaces the value of 'date.argument', if 'date.argument' is a variable.

Example

print 'Enter an external date: ':
input date
call date.iconv(date)
print 'The internal date is ':date

See Also

Command Name Type Description
basic.iconv Function Input conversion function.
basic.subroutine Statement Defines program as external subroutine.
basic.call Statement Calls external Pick/BASIC subroutine.
pc.d Processing Code Date conversion.

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.