Byref

L

Logico

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

Alessio
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,189
Latest member
CryptoTaxSoftware

Latest Threads

Top