|
-
Nov 8th, 1999, 04:06 AM
#1
Thread Starter
New Member
Determine value od "A"
dim a as string
dim num1 as integer, num2 as long
num1=5
num2=10
if num1<=5 then
if num2>12 and num2<20 then
a="choice1"
else
if num2<8 and num2>5 then
a="choice2"
else
if num2>8 and num2 <13 then
a="choice3"
end if
end if
end if
else
if num2=10 then a="choice4"
end if
-
Nov 8th, 1999, 04:08 AM
#2
Fanatic Member
From this procedure you will get A as Choice3
If it is your question
------------------
Visual Basic Programmer (at least I want to be one)
------------------
PolComSoft
You will hear a lot about it.
[This message has been edited by QWERTY (edited 11-08-1999).]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|