Results 1 to 2 of 2

Thread: help on VB

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 1999
    Location
    downey, ca, usa
    Posts
    3

    Post

    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

  2. #2
    Fanatic Member
    Join Date
    Oct 1999
    Location
    MA, USA
    Posts
    523

    Post

    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
  •  



Click Here to Expand Forum to Full Width