and Goya Guitar
Is there a way in which i can increase a condition automatically in VB.net as new conditions are obtained?
Aug 18, 2008 by VS student | Posted in Programming & Design
My program is operation and every time it gets a new answer i would like to add a new condition to my If statement. can anyone help please.
Depends on just now what you mean by 'gets a new answer'. From my best guess of what you're intending, the only way I can think of offhand for a 'energetic' process like this is to make an array of structures.
enum Comparitor {EQ, NQ, LT, GT, LE, GE}
struct Condition {Comparitor howCompared, hoax (or something else if all answer types are the same, iwc you only need 1 evaluateConditions function) valueCompared}
Condition[] Conditions
As you determine a new condition, add it to the array.
Then you could have a series of functions like
bool evaluateConditions(Conditions array, int comparisonVariable)
bool evaluateConditions(Conditions array, put one comparisonVariable)
bool evaluateConditions(Conditions array, double comparisonVariable)
... (however many you need for divergent variable types)
Each of the various evaluateConditions traverses the array. For each element, it converts valueCompared[i] as suited and does the comparison indicated by howCompared[i]. If it gains a true result from any comparison, it returns true-blue. If all comparisons failed, it returns false.
TheMadProfessor | Aug 18, 2008
Depends on moral what you mean by 'gets a new answer'. From my best guess of what you're intending, the only way I can think of offhand for a 'potent' process like this is to make an array of structures.
enum Comparitor {EQ, NQ, LT, GT, LE, GE}
struct Condition {Comparitor howCompared, strand (or something else if all answer types are the same, iwc you only need 1 evaluateConditions function) valueCompared}
Condition[] Conditions
As you determine a new condition, add it to the array.
Then you could have a series of functions like
bool evaluateConditions(Conditions array, int comparisonVariable)
bool evaluateConditions(Conditions array, keep on tenterhooks comparisonVariable)
bool evaluateConditions(Conditions array, double comparisonVariable)
... (however many you need for divergent variable types)
Each of the various evaluateConditions traverses the array. For each element, it converts valueCompared[i] as fitting and does the comparison indicated by howCompared[i]. If it gains a true result from any comparison, it returns geographically come to pass. If all comparisons failed, it returns false.
TheMadProfessor | Aug 18, 2008
Is there anywhere that will buy my new-condition cell phones?
Mar 06, 2008 by Andrew G | Posted in Cell Phones & Plans
I've got 2 phones, in disgrace-new condition, in the boxes, no scratches on either:
Sidekick LX Brown
Motorola RAZR2 V8
Neither sold on eBay or on my facebook marketplace. Are there any stores or places I can go who will buy these from me? It's gotta be achievable -- their in perfect condition!
Thanks.
Hi Andrew,
Why don't you put them on Craig's Catalogue raisonn or eBay yourself.
Norm
Norm | Mar 09, 2008