TABLE OF CONTENTS


plm/cons [ Modules ]

[ Top ] [ Modules ]

NAME

   cons -- console input and output module

DESCRIPTION

   This modules reads and writes data from and to the console.

cons/new_line [ Functions ]

[ Top ] [ cons ] [ Functions ]

NAME

   new_line -- print new line

SYNOPSIS

   call new_line;

DESCRIPTION

   Print the new line character or sequence of characters to the console.

cons/print_char [ Functions ]

[ Top ] [ cons ] [ Functions ]

NAME

   print_char -- print a character to the console

SYNOPSIS

   call print_char(chr);

DESCRIPTION

   Print the character passed as parameter to the console standard output.

cons/print_hex_byte [ Functions ]

[ Top ] [ cons ] [ Functions ]

NAME

   print_hex_byte -- print the hexadecimal representation of a byte

SYNOPSIS

   call print_hex_byte(b);

DESCRIPTION

   Print the lowercase hexadecimal representation of the given byte.
   Prepend with a leading zero if needed.

cons/print_line [ Functions ]

[ Top ] [ cons ] [ Functions ]

NAME

   print_line -- print a null-terminated string with line end sequence

 SYNOPOSIS
   call print_line(p$str);

DESCRIPTION

   Print the null-terminated string pointed by p$str and then print the
   line ending character(s).

cons/print_string [ Functions ]

[ Top ] [ cons ] [ Functions ]

NAME

   print_string -- print a null-terminated string

SYNOPSIS

   call print_string(p$str);

DESCRIPTION

   Print the null-terminated string pointed by p$str.

cons/print_uint [ Functions ]

[ Top ] [ cons ] [ Functions ]

NAME

   print_uint -- print unsigned integer

SYNOPSIS

   call print_uint(num);

DESCRIPTION

   Print the decimal representation of the unsigned integer.

cons/read_line [ Functions ]

[ Top ] [ cons ] [ Functions ]

NAME

   read_line -- read one line from the console

SYNOPSIS

   read_line(len, p$buf)

DESCRIPTION

   Read into the location at p$buf a string of maximum len bytes.
   The value returned is the actual length of the stirng read,
   excluding the null terminator which is added at the end of
   the string.