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:
“These native villages are as unchanging as the woman in one of their stories. When she was called before a local justice he asked her age. I have 45 years. But, said the justice, you were forty-five when you appeared before me two years ago. SeƱor Judge, she replied proudly, drawing herself to her full height, I am not of those who are one thing today and another tomorrow!”
—State of New Mexico, 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)
“Moral choices do not depend on personal preference and private decision but on right reason and, I would add, divine order.”
—Basil Hume (b. 1923)
“Moving between the legs of tables and of chairs,
Rising or falling, grasping at kisses and toys,
Advancing boldly, sudden to take alarm,
Retreating to the corner of arm and knee,
Eager to be reassured, taking pleasure
In the fragrant brilliance of the Christmas tree....”
—T.S. (Thomas Stearns)