G
Guest
I have several one line If - then statements (by one line, I mean "If x>1
then y=x+1") which I could recode as a select case structure. Is there trade
off point for execution/memory efficiency?
Code segment:
If EventID = 2 Or EventID = 20 Then Gala2003_2004 (EventID)
If EventID = 33 Then Gala2005 (EventID)
If EventID = 56 Then Gala2006 (EventID)
If EventID = 50 Or (EventID >= 57 And EventID <= 71) Then RHGT (EventID)
If EventID = 87 Then RHGT (EventID)
. . .
Thanks,
Jael
then y=x+1") which I could recode as a select case structure. Is there trade
off point for execution/memory efficiency?
Code segment:
If EventID = 2 Or EventID = 20 Then Gala2003_2004 (EventID)
If EventID = 33 Then Gala2005 (EventID)
If EventID = 56 Then Gala2006 (EventID)
If EventID = 50 Or (EventID >= 57 And EventID <= 71) Then RHGT (EventID)
If EventID = 87 Then RHGT (EventID)
. . .
Thanks,
Jael