Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
_IIF limits two questions
#2
Hi,

In the last two parameters of the function you set its output values. The first for true, the second for false.

Code: (Select All)

a$ = "YES"

result = _IIf(a$ = "YES", 100, 0)

Select Case result
    Case 0: Print "a$ is not YES"
    Case 100: Print "a$ is YES"
End Select


Reply


Messages In This Thread
RE: _IIF limits two questions - by Petr - 9 hours ago



Users browsing this thread: 3 Guest(s)