Sarah Reichelt wrote:
On Sun, Sep 20, 2009 at 8:44 PM, David Bovill wrote:
Can't find protected in the dictionary :)

How about:

   if the password of this stack is not empty then
      -- stack is protected
   end if


If the intended use is in the IDE, it may be helpful to distinguish which of the stack that have a password set are currently unlocked. If David needs that he can use:

 if the password of stack tStack <> the passKey of stack tStack then ....

password = the encrypted string stored in the stack as the flag to determine if it will encrypt its scripts and properties when it writes the stackfile to disk

passkey = what the developer enters in development to be able to edit scripts, active only so long as the stack is in memory


--
 Richard Gaskin
 Fourth World
 Revolution training and consulting: http://www.fourthworld.com
 Webzine for Rev developers: http://www.revjournal.com
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to