|
-
Apr 15th, 2000, 04:01 PM
#1
Quick question, is there any differnce in program speed if I use:
Function "variable1","variable2"
-or-
Call Function("variable1","variable2")
-
Apr 15th, 2000, 04:04 PM
#2
-
Apr 15th, 2000, 09:40 PM
#3
According to the MS help section on Call Function
Remarks
You are not required to use the Call keyword when calling a procedure. However, if you use the Call keyword to call a procedure that requires arguments, argumentlist must be enclosed in parentheses. If you omit the Call keyword, you also must omit the parentheses around argumentlist. If you use either Call syntax to call any intrinsic or user-defined function, the function's return value is discarded.
MSDN Library Jan, 2000
I can't imagine that calling a function with or with out the Call statement would make a speed difference
Roger
-
Apr 15th, 2000, 11:36 PM
#4
there is absolutely no difference, Why?...
Because they are both compiled into the same code in the EXE anyway, so it matters not methinks!
-
Apr 15th, 2000, 11:42 PM
#5
transcendental analytic
A function call takes 0.5 µs with an Athlon 600 Thats way too slow for me
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|