~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: <mdehnel@a...>
Subject: [asp_database_setup] Re: Brain Dead
: This and the troubleshooting code help THANKS
:
: It turnned out to be that I was calling the OpenAddress subroutine without
: the "CALL" keyword. So my next dumb question is why? I thought the
: the "CALL" keyword was optional. Are there specific rules for instances
: that require "CALL" to be there?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In VBScript:
If you call a subroutine, using ( ), then you need Call:
<% Call subDoSomething(param1, param2) %>
otherwise, you have to call it without ( ):
<% subDoSomething param1, param2 %>
(If you call a function though, you need to use ( ) around params).
This looks stupid, and I personally think it is stupid, and it's going away
with VB.Net (you need ( ) around all params), so hurrah!
Cheers
Ken