Page 1 of 1

Calling a function in vortex-- how to get it to run?

Posted: Mon Feb 26, 2001 12:18 pm
by Mr. Bigglesworth
I've got a function that looks like so:

<a name=getEditUsers PUBLIC lguserid lgcasedb_id>

Hello there

</a>


declared in a code module. I compile the module, then use the <USES my_module> snippet in my vortex script to link things in.

When I call my function in the script, like this:

<getEditUsers lguserid=788 lgcasedb_id=760>

The script just prints out that line in the HTML-- it doesn't actually run the function. It's like it can't find it. I'm doing something wrong, but can't see it.

Calling a function in vortex-- how to get it to run?

Posted: Mon Feb 26, 2001 12:43 pm
by John
Did you check in the new version of the code module with the function in it?

Calling a function in vortex-- how to get it to run?

Posted: Mon Feb 26, 2001 12:48 pm
by Mr. Bigglesworth
Yes, I have checked it in, like so:

e:\cgi-bin\texis.exe -log none -ci -module case_options -force e:\publ
ic\objects\case_options

"case_options" is the module with the function in it. No luck, unfortunately.

Calling a function in vortex-- how to get it to run?

Posted: Mon Feb 26, 2001 1:40 pm
by John
Normally for functions in modules you would use EXPORT instead of PUBLIC, unless you also intend the function to be an entry point to the script.

You can also verify which versions on the module have been checked in with:

texis -listrev -module case_options

to make sure that that version was actually checked in.