In VS2012, vb.net I quite frequently use the like statement.
My question is this: Is there the equivalent for number arithmetic?
eg. If I have the following code:
dim intTest as integer = 10
Can I execute a runtime piece of code that will do some calculations depending on values in a textbox or a string variable?
eg. If I have 3 textboxes that have the following text in it:
> 100 (textbox1.text)
< 100 (textbox2.text)
>=10 (textbox3.text)
Is it possible to get a boolean return value from the values obtained in each textbox.
Eg.
dim booleanValue as boolean
booleanValue = intTest like textbox1.text (returns false)
booleanValue = intTest like textbox2.text (returns true)
booleanValue = intTest like textbox3.text (returns true)
My question is this: Is there the equivalent for number arithmetic?
eg. If I have the following code:
dim intTest as integer = 10
Can I execute a runtime piece of code that will do some calculations depending on values in a textbox or a string variable?
eg. If I have 3 textboxes that have the following text in it:
> 100 (textbox1.text)
< 100 (textbox2.text)
>=10 (textbox3.text)
Is it possible to get a boolean return value from the values obtained in each textbox.
Eg.
dim booleanValue as boolean
booleanValue = intTest like textbox1.text (returns false)
booleanValue = intTest like textbox2.text (returns true)
booleanValue = intTest like textbox3.text (returns true)