24-12-2007, 07:30 AM
I do this too, wasn't sure if it would speed up anything, I just did it for organizational purposes.
"Short-circuit evalution" in VB6
|
24-12-2007, 07:30 AM
I do this too, wasn't sure if it would speed up anything, I just did it for organizational purposes.
24-12-2007, 09:39 PM
DFA Wrote:yeah, actually a pretty important optimization in my opinion Hardly. The time it takes to do the checks is negligible. If you wanted to sort out the packet system, you'd convert to byte arrays. Quote:Robin:
24-12-2007, 09:44 PM
That's like asking why Booleans exist when you can store the same value in a Byte.
Quote:Robin:
24-12-2007, 09:49 PM
Yet it exists in VB6.0 as a few bytes.
Stop asking questions about why different things are there in the language, we can only speculate. xD Quote:Robin:
24-12-2007, 10:24 PM
Hahahaha xD
Quote:Robin:
25-12-2007, 06:33 AM
That's very common in C based languages, if(function()){ } and the oposite if(!function()){ } which is the same as If Not function Then
|
« Next Oldest | Next Newest »
|