-
Ok I started this post because i am always seeing that people are clowning on people for using code that eats up processor power so now there is a place to list all of the faster vairiations of coding so that it is less confusing.
Example of how to post variations:
This Code is for making a if statement:
Fast:
Code:
If x = y then
...
else
...
endif
Slow:
Code:
iif(x = y, ...(TRUE ARGUMENTS)..., ...(FALSE ARGUMENTS)...)
-
If... Then.
Fast:
Code:
If variable = "1" Then
ElseIf variable = "2" Then
ElseIf variable = "3" Then
End If
Slow:
Code:
Select case variable
case "1"
case "2"
case "3"
end select
Sad huh? I liked select cases.