cdl-converting(3)

NAME
cdl-converting - CDL3 runtime system, converting calls.

SYNOPSYS
TEST asciicode (>TEXT,>INT1,INT2>),
FUNCTION bindec (>INT,TEXT>),
TEST decbin (>TEXT,INT>),
FUNCTION hash (>TEXT,>INT1,INT2>)

DESCRIPTION

  TEST asciicode (>TEXT,>INT1,INT2>)
Convert charater INT1 in TEXT to its ascii code. On success initialise INT2 to the value found.

  FUNCTION bindec (>INT,TEXT>)
Convert (decimal) INT to TEXT.

  TEST decbin (>TEXT,INT>)
Convert (decimal) TEXT to INT.

  FUNCTION hash (>TEXT,>INT1,INT2>)
Convert TEXT into hash value INT2 modulo INT1.

FILES
All run time system calls are defined in predef.k3 which was configured to be installed in /usr/pkg/share/cdl3/include in your installation.

SEE ALSO
cdlc(1), cdl-io(3), cdl-output(3), cdl-debug(3), cdl-input(3), cdl-integer(3), cdl-string(3), cdl-converting(3), cdl-system(3)

COPYING
Copyright (C) 2000 C.H.A. Koster
CDL3 is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
CDL3 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details.
You should have received a copy of the GNU Library General Public License along with this version of CDL; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA