Time-Stamping Demo programs #2

Richmond richmondmathewson at gmail.com
Mon Apr 23 04:32:43 EDT 2012


Um:

--30 Day code--

if the fld "STAMP" of stack "STAMP" is empty then
   set the lockScreen to true
     put the seconds into into fld "STAMP" of stack "STAMP"
     save stack "STAMP"
   set the lockScreen to false
end if

put the seconds into DAZE30
put fld "STAMP" of stack "STAMP" into TSTAMP
if DAZE30 > (TSTAMP + 2592000) then
   set the vis of img "TIME IS UP CHUM" to true
end if

--End 30 Day code--

This works very well in a stack (where stack "STAMP" is a substack of my 
mainstack),

will it work in a standalone?

[NOT unless I remove that double 'into' . . .  :) ]

or, put another way,

will the standalone save the time-stamp data in the substack?




More information about the use-livecode mailing list