MC and Vista 64

Ken Ray kray at sonsothunder.com
Wed Jan 26 22:11:01 CST 2011


> The lines I have at the end of the returnInField looks a bit different
> so I'm not sure what/where I should change:
>
>    if cword is not among the lines of the commandNames then
>      if cword is "the" or cword is a number or token 2 of cword is "("
>      then put value(command, this card)
>      else send command to this card
>    else
>      if debugging
>      then debugdo command & return & "if the result is not empty then put the
> result"
>      else do "global" && the globals & return & command \
>          & return & "if the result is not empty then put the result"
>    end if
>    unlock error dialogs
>  end returnInField

Change that portion of the handler to read:

   if cword is not among the lines of the commandNames then
     if cword is "the" or cword is a number or token 2 of cword is "("
     then put value(command, this card)
     else send command to this card
   else
     if debugging then
       debugdo command & return & "if the result is not empty then put the
result"
     else 
       put the globals into tGlobs
       replace "$ProgramFiles(x86)" with "" in tGlobs
       replace "$CommonProgramFiles(x86)" with "" in tGlobs
       do "global" && the globals & return & command \
          & return & "if the result is not empty then put the result"
     end if
   end if
   unlock error dialogs
 end returnInField



Ken Ray
Sons of Thunder Software, Inc.
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/





More information about the metacard mailing list