Home
The Toolkit for Online Communities
17103 Community Members, 1 member online, 2386 visitors today
Log In Register
OpenACS Home : Forums : OpenACS Q&A : Library proc calling another proc in the same file

Forum OpenACS Q&A: Library proc calling another proc in the same file

Icon of envelope Request notifications

Hi,

Can a library procedure call another library procedure in the same 
file?

So, for instance:

ad_library {
   A library
}

ad_proc A_procedure {
}{
   Procedure A
}{

   #Do something
   set variable B_procedure $param1 $param2
}

ad_proc B_procedure {
   param1
   param2
}{
   Procedure B
}{
   #Do something
   return $param 
}

Thanks.
yes.
Collapse
Posted by Peter Harper on
Jonathon's already answered the question, but why don't you just try it and see?.