> I have two scripts.
>
> base.htm
> index.htm
> ----------
>
> index.htm :
>
> [-
>       sub test {
>               return 'wellcome';
>       }
> -]
>
>
> base.htm :
>
> [- Execute ({inputfile => '*' , import => 1 }) -]
> [+ test () +]
>
>
> When I run index.htm then base.htm return error , because no find
> subroutine test. Subroutine test don't import to base.htm . Why ?
>

In index.htm use [! !] instead of [- -], because [--] is not executed on 
import, so your sub doesn't get defined. [! !] will be executed on import and 
everything works

Gerald


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to