lunedì 10 dicembre 2007

Default procedure

currentSituation('How are you?'){

tmpStat := getContext();
if(tmpStat != brilliantSituation || tmpStat != hellOnEarth)
return tmpStat;
else{
relativeStat := couldIFeelWorseInThisSituation(tmpStat);
if(relativeStat)
return 'alright';
else
return 'ok';
}

}


(this is the simplified version.. for simplicity reasons the parameter 'voice tone' has not been included)

2 commenti:

romka ha detto...

#include "stdio"

void test1 () {
printf("%s", currentSituation('How are you?'));
}

om ha detto...

that's good !!
it does apply on women right? ;)

Free Rice

Free Rice
Play, improve your knowledge, and feed starving people.