Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Good Coding with ElseIF
#1
Going back through some of my coding I found I've used Else and If where I perhaps should have used ELSEIF. It seemed to work out ok but I'm not sure if there is difference in how these two work together.

For example

If ..... then
....
....
...Else
... if .. then
...
...
Else
......
......
End if

V's

If ... then
....
....
ElseIF .... then
.....
....
Else
....
End If

The logic flow would suggest there is no difference.
Reply


Messages In This Thread
Good Coding with ElseIF - by Dimster - 05-04-2023, 04:11 PM
RE: Good Coding with ElseIF - by mnrvovrfc - 05-04-2023, 04:45 PM
RE: Good Coding with ElseIF - by Dimster - 05-04-2023, 07:22 PM
RE: Good Coding with ElseIF - by mnrvovrfc - 05-04-2023, 09:12 PM
RE: Good Coding with ElseIF - by James D Jarvis - 05-04-2023, 09:23 PM
RE: Good Coding with ElseIF - by TerryRitchie - 05-04-2023, 09:51 PM
RE: Good Coding with ElseIF - by James D Jarvis - 05-05-2023, 01:39 AM
RE: Good Coding with ElseIF - by mnrvovrfc - 05-04-2023, 10:09 PM
RE: Good Coding with ElseIF - by James D Jarvis - 05-05-2023, 01:35 AM
RE: Good Coding with ElseIF - by Dimster - 05-05-2023, 01:03 PM
RE: Good Coding with ElseIF - by bplus - 05-05-2023, 05:38 PM
RE: Good Coding with ElseIF - by Dimster - 05-05-2023, 08:11 PM
RE: Good Coding with ElseIF - by bplus - 05-05-2023, 08:37 PM



Users browsing this thread: 11 Guest(s)