Groups | Blog | Home
all groups > inetserver asp general > april 2005 >

inetserver asp general : Byref


Evertjan.
4/29/2005 12:00:00 AM
Logico wrote on 29 apr 2005 in microsoft.public.inetserver.asp.general:

[quoted text, click to view]

What test?

Pleasr quote on usenet!

--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)
amilani NO[at]SPAM dsi.unive.it
4/29/2005 12:46:07 AM
The output of the test was:
b=5#
b=5#
b=5#
arr(1)=7#
arr(1)=7#
arr(1)=7#
dict.item('K2')=2#
dict.item('K2')=4#
dict.item('K2')=14#

Now, calling subroutines using keyword 'call' or omitting parentheses,
I get the correct result:
b=5#
b=5#
b=105#
arr(1)=7#
arr(1)=7#
arr(1)=17#
dict.item('K2')=2#
dict.item('K2')=4#
dict.item('K2')=14#

I don't like so much this philosophy of VBscript, but I understood how
it works... that's enough! Thanks to Mark and Bob

AddThis Social Bookmark Button