on 10-06-2008 11:14 AM
Hi all,
I want to execute a variable.
For example:
I have a variable that has (var1 = If %%a <> ''). Then I replace %%a by Itemcode (var1 = If Itemcode <> ''). Itemcode is declared.
In run-time I want to execute var1 and return True or False.
Is it possible? how to do it?
Best regards,
Augusto Silva
Hi
If you need to assign the result of comparation of 2 variables try this:
Dim b As Boolean = False
Dim s1 As String = "1"
Dim s2 As String = "3"
b = (s1 = s2)
Console.WriteLine("b=" & b)
Regards
Sierdna S.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.