Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_database_setup thread: Re: Brain Dead


Message #1 by "Ken Schaefer" <ken@a...> on Wed, 1 Aug 2001 12:49:09 +1000
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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






  Return to Index