Decision Table - Program Embedded Decision Tables

Program Embedded Decision Tables

Decision tables can be, and often are, embedded within computer programs and used to 'drive' the logic of the program. A simple example might be a lookup table containing a range of possible input values and a function pointer to the section of code to process that input.

Static decision table
Input Function Pointer
'1' Function 1 (initialize)
'2' Function 2 (process 2)
'9' Function 9 (terminate)

Multiple conditions can be coded for in similar manner to encapsulate the entire program logic in the form of an 'executable' decision table or control table.

Read more about this topic:  Decision Table

Famous quotes containing the words program, embedded, decision and/or tables:

    To the cry of “follow Mormons and prairie dogs and find good land,” Civil War veterans flocked into Nebraska, joining a vast stampede of unemployed workers, tenant farmers, and European immigrants.
    —For the State of Nebraska, U.S. public relief program (1935-1943)

    It was your severed image that grew sweeter,
    That floated, wing-stiff, focused in the sun
    Along uncertainty and gales of shame
    Blown out before I slept. Now you are one
    I dare not think alive: only a name
    That chimes occasionally, as a belief
    Long since embedded in the static past.
    Philip Larkin (1922–1986)

    Once the decision has been reached, close your ears even to the best counter-argument: a sign of strong character. Thus an occasional will to stupidity.
    Friedrich Nietzsche (1844–1900)

    Hast thou named all the birds without a gun?
    Loved the wood rose, and left it on its stalk?
    At rich men’s tables eaten bread and pulse?
    Unarmed, faced danger with a heart of trust?
    Ralph Waldo Emerson (1803–1882)