Skip to main content
Participant
June 21, 2006
Question

Communication between Server Classes

  • June 21, 2006
  • 2 replies
  • 235 views
Hi everyone.

Let's suppose I want to call the function "callTest" in "Test.asc" from "main.asc". How can I do it?
I searched without finding answers.

Thank you.
    This topic is closed to new replies. Start a new post to keep the conversation going.

    2 replies

    tidanoneAuthor
    Participant
    June 22, 2006
    Thanks a lot!
    So simple... I wonder why I forgot to test it...
    June 21, 2006
    At the top of your main.asc, add this:

    load("Test.asc");

    Now all of the functions in Test.asc are available to main.asc

    This assumes that main.asc and tst.asc are in the same app directory.