Hi  Peter,

Which version of LC are you using ?

Doesnt' work here with LC 6.7.4 or LC 7.0.4.

Thanks,

Thierry

------------------------------------------------
Thierry Douez - http://sunny-tdz.com
Maker of sunnYperl - sunnYmidi - sunnYmage


2015-04-23 15:34 GMT+02:00 Peter W A Wood <peterwaw...@gmail.com>:
> Here is a very simple server script and a very simple “text” library script 
> that show just what I was hoping.
>
> The Library Script:
>         script "TextLib"
>         function TL.compare pFirst, pSecond
>                 return pFirst = pSecond
>         end TL.compare
>
> The Server Script:
>         #!<path to livecode>
>         #coding:utf-8
>         set the outputLineEndings to "lf”
>         set the outputTextEncoding to “utf8"
>         put the Version & return
>         start using stack “<path to >/TextLib.livecode”
>         dispatch function "TL.compare" to stack "TextLib" with "a", "b”
>         put the result & return
>         dispatch function "TL.compare" to stack "TextLib" with "LiveCode", 
> “LiveCode"
>         put the result & return
>
> I created both scripts in a text editor (using UTF-8 encoding) rather than 
> the IDE.
>
> I think it’s great that LiveCode has given us this alternative way of working 
> with script only stacks.
>
> Peter
>
>> On 23 Apr 2015, at 20:47, David Bovill <david@viral.academy> wrote:
>>
>> Great. I can now refactor all those libraries.
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to