Rev as Linux Shell Script
alex at tweedly.net
Thu Oct 28 19:16:23 EDT 2010
Just a guess ..... libURL uses private handlers, and RevServer scripts
can't have private functions in them.
(The Docs say 'private' applies to desktop and server, but my simple
test suggests otherwise
private function a p
fails, remove the 'private' and it works.)
There are only 2 instances of it in libURL, so try changing them and see
if it helps ....
beware also of name clashes - e.g. the handler 'log' would cause a clash
in most of my scripts :-)
On 28/10/2010 23:28, Mike Bonner wrote:
> Nope doesn't work, and I don't know enough to determine if it would be
> worthwhile to beat it into submission or how to begin if it is worthwhile.
> (tried it with the 4.5 script) Mostly was just wondering, revserver throws
> errors such as:
> EXECUTION ERROR:
> I have no clue what they mean.
> On Thu, Oct 28, 2010 at 3:39 PM, J. Landman Gay<jacque at hyperactivesw.com>wrote:
>> On 10/28/10 3:23 PM, Mike Bonner wrote:
>>> I have a question regarding this, if one were to copy the script as you
>>> explained, and instead of placing it in a stack could one paste it into an
>>> .irev file and use it as an include with revserver scripts?
>> Yes, I think so, but I'm not sure how much of libURL the irev engine
>> supports. The original post was about using it in an old-style CGI, which
>> doesn't support text file includes, but is basically the same engine as the
>> one used for building standalones.
>> If you try it, let us know if it works.
>> Jacqueline Landman Gay | jacque at hyperactivesw.com
>> HyperActive Software | http://www.hyperactivesw.com
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the use-livecode