Icon Programming Language Misc Info

[Back to contents page]

Datatypes

        null(n)         string(s)  co-expression(C)  table(T)
        integer(i)      cset(c)    procedure(p)      set(S)
        real(r)         file(f)    list(L)           record types(R)

        (see also Abbreviations)

Reserved words

        break    do     global  next       repeat   to
        by       else   if      not        return   until
        case     end    initial of         static   while
        create   every  link    procedure  suspend
        default  fail   local   record     then

Escapes in string and cset constants

        \b      backspace               \v      vertical tab
        \d      delete(rubout)          \'      single quote
        \e      escape (altmode)        \"      double quote
        \f      formfeed                \\      backslash
        \l      linefeed (newline)      \ddd    octal code
        \n      newline (linefeed)      \xdd    hexadecimal code
        \r      carriage return         \^c     control code
        \t      horizontal tab

Abbreviations

Abbreviations used in Icon help files (and other Icon literature)

        c       cset            C       co-expression
        f       file            L       list
        i       integer         N       numeric (i or r)
        n       null            R       record (any record type)
        p       procedure       S       set
        r       real            T       table
        s       string          X       any structure type (L, R, S, or T)
        x       any type        F       field of record
[Back to contents page]