FORMAT
signature
signature FORMAT
datatype fmt_item
= ATOM of Atom.atom
| LINT of LargestInt.int
| INT of Int.int
| LWORD of LargestWord.word
| WORD of Word.word
| WORD8 of Word8.word
| BOOL of bool
| CHR of char
| STR of string
| REAL of Real.real
| LREAL of LargestReal.real
| LEFT of (int * fmt_item)
| RIGHT of (int * fmt_item)
exception BadFormat
exception BadFmtList
val format : string -> fmt_item list -> string
val formatf : string -> (string -> unit) -> fmt_item list -> unit
val sscanf : string -> string -> fmt_item list option
val scanf : string -> (char,'a) StringCvt.reader -> (fmt_item list,'a) StringCvt.reader
datatype fmt_item
exception BadFormat
exception BadFmtList
format s l
formatf s f l
sscanf s t
scanf s re
Last Modified May 29, 1996
Copyright © 1996 AT&T Research