case statement


Also found in: Dictionary, Thesaurus, Medical, Legal.

case statement

case statement

A variation of the if-then-else programming statement that is used when several ifs are required in a row. The following C example tests the variable KEY1 and performs functions based on the results. For an example of how the case statement was used in an actual program, see event loop.

switch (key1)   {case '+':  add();  break;case '-':  subtract();  break;case '*':  multiply();  break;case '/':  divide();  break;}
References in periodicals archive ?
One of the challenges is to present basic research as urgent and compelling," said Sametz, whose team worked with Whitehead to produce a case statement that uses metaphoric images, such as dabs of paint, paint tubes, a brush and a blank canvas; a ball of yarn and needles; and a block of clay with sculpting tools to evoke the potential that stem cell research has to address the worst diseases that plague mankind.
The first step in building a case statement is pulling together documents, key pieces of information that will help an organization build the actual case statement.
By that date, each of Harry Singh you should have provided a defence case statement - a document setting out in detail your defence to this charge.
According to the case statement, Khaleda Zia had formed a coalition government with Jamaat-e-Islami in 2001.
Andrew In a defence case statement composed later, the boy said the only reason he travelled to Moss Side was to buy a takeaway, and that he later went 'cruising around' with friends in a car.
But in his defence case statement, Guan, who followed proceedings with the aid of a Chinese interpreter, said he misjudged the situation and tried to kiss her.
You need to prepare a defence case statement setting out in detail what you say happened.
He was charged in July this year, but police only disclosed further "relevant material" in response to his defence case statement, submitted on December 15.
Keep a Nature of the Case Statement ("Introduction") Very Brief.
Judge Christopher Vosper QC said: "You told the police in interview, and I understand you said in your defence case statement, that you had not been present at the time.
Hong sent the school's case statement around as a PDF and made sure that she always had it available to prospective donors.
The thing that really shames you is that for the last eight or nine months you hid behind the lies in your defence case statement, and you have continued to lie about your involvement until today.