> Richard wrote:
> 
> PS: Annoyance report:  If I run that script above as a single line in 
> the Message Box, a la:
> 
>   get binaryDecode("h*", sha1digest(tSomeString), tHex); put tHex
> 
> ...the Message Box shows "true", but when I run it in a button it shows 
> the expected hex string.
> 
> Have any of you seen things like that? 


Something similar when user-created functions are in the message.

put time() into theTime; put theTime  —WORKS time() is a built-in function.

Now put this in the stack script:
        function richard
           return time()
        end richard

In the message box:

put richard()  — WORKS

put richard() into theTime; put theTime  — DOES NOT WORK richard() is not a 
built-in function.

This may be somewhat related to your example in that getting binaryDecode() 
also populates the variable tHex.

JIm Lambert


_______________________________________________
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