Re: [web2py] Re: comparing two strings in two functions in other function in controller.

2012-06-24 Thread Anthony
Are they in the same controller where you need to call them? Then just call them. Maybe it would help if you show some code -- it's not quite clear what you are trying to do. On Sunday, June 24, 2012 12:00:05 PM UTC-4, praveen krishna wrote: > > The two functions are defined in controller, you m

Re: [web2py] Re: comparing two strings in two functions in other function in controller.

2012-06-24 Thread praveen krishna
The two functions are defined in controller, you mean I have to put the two functions in applications/yourapp/modules and import them in controller. On Sun, Jun 24, 2012 at 5:35 PM, Anthony wrote: > Where are the two functions defined? If they are in a model file, you can > call them from any co

[web2py] Re: comparing two strings in two functions in other function in controller.

2012-06-24 Thread Anthony
Where are the two functions defined? If they are in a model file, you can call them from any controller. Otherwise, you can put them in a module and import them. Anthony On Sunday, June 24, 2012 11:24:23 AM UTC-4, praveen krishna wrote: > > Hi, >I have two functions which generates two stri