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.
| 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:
“Hast ever ben in Omaha
Where rolls the dark Missouri down,
Where four strong horses scarce can draw
An empty wagon through the town?
Where sand is blown from every mound
To fill your eyes and ears and throat;
Where all the steamboats are aground,
And all the houses are afloat?...
If not, take heed to what I say,
Youll find it just as I have found it;
And if it lies upon your way
For Gods sake, reader, go around it!”
—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 (19221986)
“You can hesitate before deciding, but not once the decision is made.”
—José Bergamín (18951983)
“Eddie Felson: Church of the Good Hustler.
Charlie: Looks more like a morgue to me. Those tables are the slabs they lay the stiffs on.
Eddie Felson: Ill be alive when I get out, Charlie.”
—Sydney Carroll, U.S. screenwriter, and Robert Rossen. Eddie Felson (Paul Newman)