[Blog] Script Only Stacks

Matt Maier blueback09 at gmail.com
Thu Mar 3 13:50:57 EST 2016


I was just reading that the line endings can be different (because of
course they can).
http://www.hyperactivesw.com/cgitutorial/scripts1.html#trouble

*Make sure line endings in scripts are correct for the server platform. DOS
line endings are carriage return and linefeed. Unix line endings are a
single linefeed. Macintosh line endings are a single carriage return (but
note that scripts run by Apache in OS X require Unix line endings.)*
On Mar 3, 2016 10:39 AM, "Richard Gaskin" <ambassador at fourthworld.com>
wrote:

> Tim Bleiler wrote:
>
>> Thanks Peter,
>>
>> I gave that a try and I still get the same message. My attempts to create
>> them from scratch were saved as UTF-8 and I’ve tried all the other options
>> in TextEdit as well.  I have noticed  that if I open a functioning script
>> only stack in ATOM it is identified as UTF-8.
>>
>
> I wonder if it needs to use LC's native line ending, ASCII 10, rather than
> ASCII 13 that many Mac tools use.
>
> --
>  Richard Gaskin
>  Fourth World Systems
>  Software Design and Development for the Desktop, Mobile, and the Web
>  ____________________________________________________________________
>  Ambassador at FourthWorld.com                http://www.FourthWorld.com
>
> _______________________________________________
> 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