Option Explicit ?

Results 1 to 2 of 2

Thread: Option Explicit ?

  1. #1
    Join Date
    Dec 1969

    Default Option Explicit ?

    I have an shtml page which calls an asp page (asp1).The asp page <BR>calls a sub-routine in another asp page (asp2) to format numbers.<BR><BR>However, when i put option explicit into asp2 i get the following error<BR><BR>Microsoft VBscript compilation error &#039 800a400&#039<BR>expected statement<BR><BR>path details....filename.asp,line 1 <BR>option explicit<BR><BR>any help appreciated.

  2. #2
    keithadler@hotmail.com Guest

    Default RE: Option Explicit ?

    How do you call a subroutine on another ASP page? That&#039s impossible I thought (functions and subs only are scoped to the current page). The only way to do this is to use an include ... or to use the PageObject DTC in Visual InterDev. Please elaborate.<BR><BR>Thank you.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts