Path to start using a stack in On-Rev?
Michael Kann
mikekann at yahoo.com
Sat Jul 30 14:34:19 EDT 2011
Bruce,
I'm not sure why the on-rev app doesn't approve of .lc yet. There is probably a line in a preferences file somewhere that hasn't been changed yet.
Mike
--- On Sat, 7/30/11, Bruce Pokras <bruceap at comcast.net> wrote:
From: Bruce Pokras <bruceap at comcast.net>
Subject: Re: Path to start using a stack in On-Rev?
To: "How to use LiveCode" <use-livecode at lists.runrev.com>
Date: Saturday, July 30, 2011, 12:22 PM
Mike, thanks very much. Changing the HTML file's extension from .irev to .lc worked. The web page is now displaying the result of the function that is in the stack script of my test stack file. I had not seen anything about the file extension being critical to functionality on On-Rev.
However, here is another mystery. Now that my HTML file has the .lc extension, the On-Rev app does not recognize it! I have to use a text editor to edit it, or keep it as .irev and change it to .lc at deployment. Do you know why that should be?
Regards,
Bruce
On Jul 30, 2011, at 11:21 AM, Michael Kann wrote:
> A little mistake in the last post:
>
> <?irev IS WRONG --- change to <?rev
>
>
>
> --- On Sat, 7/30/11, Michael Kann <mikekann at yahoo.com> wrote:
>
> From: Michael Kann <mikekann at yahoo.com>
> Subject: Re: Path to start using a stack in On-Rev?
> To: "How to use LiveCode" <use-livecode at lists.runrev.com>
> Date: Saturday, July 30, 2011, 10:16 AM
>
> Bruce,
>
> Not sure about the path, but there is one other item to consider. If your web page is good_page.irev then the old 3.5 engine will be used, so you aren't going to connect to the stack no matter where it is.
>
> Try
>
> file: good_page.lc
>
> within that page you can use either
>
> <?lc
> put "good stuff here"
> ?>
>
> or
>
> <?irev
>
> put "good stuff here"
>
> ?>
>
> The file name seems to be the determining factor.
>
> Mike
>
>
>
>
>
> --- On Fri, 7/29/11, Bruce Pokras <bruceap at comcast.net> wrote:
>
> From: Bruce Pokras <bruceap at comcast.net>
> Subject: Path to start using a stack in On-Rev?
> To: "How to use LiveCode" <use-livecode at lists.runrev.com>
> Date: Friday, July 29, 2011, 8:41 PM
>
> If the stack and irev HTML page are in the same folder, what is the path to the stack for the "start using" command? Is it simply:
>
> start using stack "Test_Stack.livecode"
>
> Or is it something more complicated than that? I am testing by putting a simple function called "respond" in the stack file's stack script, but so far no response in the .irev page when it is supposed to run the command "put respond()".
>
> Am I missing something completely?
>
> Regards,
>
> Bruce Pokras
> Blazing Dawn Software
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list