compiler not catching bad exit within routine

Ali Lloyd ali.lloyd at livecode.com
Wed Dec 7 06:58:17 EST 2016


Or try this if the script is not supposed to have any non-ascii characters:

local tLineCount, tCPCount
repeat for each line tLine in <script>
add 1 to tLineCount
put 0 into tCPCount
repeat for each codepoint tCP in tLine
   add 1 to tCPCount
   get codepointToNum(tCP)
   if it > 127 then
      answer "codepoint" && it && "at" && tCPCount && "in line" &&
tLineCount
  end if
end repeat
end repeat


On Wed, Dec 7, 2016 at 11:21 AM Dave Kilroy <dave at applicationinsight.com>
wrote:

> Ah right I get it now
>
> Have you tried checking your script for invisible characters? Try copying
> the entire script to something like BBedit, selecting and copying it afresh
> there, deleting everything in the LiveCode script, saving it to ensure it's
> clean, pasting in the (hopefully cleaned) script from Bbedit and finally
> saving...
>
>
>
> -----
> "The first 90% of the task takes 90% of the time, and the last 10% takes
> the other 90% of the time."
> Peter M. Brigham
> --
> View this message in context:
> http://runtime-revolution.278305.n4.nabble.com/compiler-not-catching-bad-exit-within-routine-tp4710898p4710907.html
> Sent from the Revolution - User mailing list archive at Nabble.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