Hard CASE: not what it seems.

2010-05-25 Thread Richmond Mathewson

 Oh, Blast: I got the wrong end of the stick completely . . .

There was nothing wrong with my CASE script at all !

The problem seems to be that standalones have a problem with
the second part of a script that runs like this:

on mouseUp
   set the useUnicode to true
   if fld fBUILT is empty then
  set the unicodeText of fld fRESULT to the unicodeText of fld 
fRESULT  numToChar(2311)

   else
   do fld fMAHA
   if fld fPROC is empty then
  --do nix--
   else
  set the unicodeText of fld fRESULT to the unicodeText of fld 
fRESULT  numToChar(2367)
  set the unicodeText of fld fRESULT to the unicodeText of fld 
fRESULT  the unicodeText of fld fPROC

  put empty into fld fPROC
  end if
   end if
  do fld fARSE
put empty into fld fBUILD
put empty into fld fBUILT
select after fld fRESULT
end mouseUp

i.e. from the first ELSE onwards.

---
fld fARSE (it concerns 'r') contains the following script:

if fld fRRR is empty then
   --do nix--
  else
  set the unicodeText of fld fRESULT to the unicodeText of fld 
fRESULT  numToChar(58107)

  put empty into fld fRRR
  end if

[i.e. post-positions Devanagari 'r' in a conjunct consonant]

---

Why do I get a tingly feeling (err . . . probably called wishful 
thinking) that RunRev 4 is not

going to allow execution of a script in a fld in a standalone??

---

What I still don't understand (and this is the sticking point) is why 
this all works in the

stack but not in the standalone . . .

So, only marginally wiser . . . :)
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Hard CASE: not what it seems.

2010-05-25 Thread Scott Rossi
Maybe because standalones have an (editable) script limit of 10 lines, meaning 
you can't build scripts dynamically in standalones that exceed 10 lines.  There 
is no such limit in the IDE.

Scott Rossi
Creative Director
Tactile Media, UX Design

On May 25, 2010, at 1:15 PM, Richmond Mathewson richmondmathew...@gmail.com 
wrote:

 Why do I get a tingly feeling (err . . . probably called wishful thinking) 
 that RunRev 4 is not
 going to allow execution of a script in a fld in a standalone??
 
 ---
 
 What I still don't understand (and this is the sticking point) is why this 
 all works in the
 stack but not in the standalone . . .
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution