Has anyone got any advice for time-limiting an app? I need to beta test but I want to limit the experience to 10 days (or so).
Regards,
Time limited demo
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Time limited demo
The underlying purpose of Al is to allow wealth to access skill
while removing from the skilled the ability to access wealth.
while removing from the skilled the ability to access wealth.
dalkin,
Simply compare the seconds with a value equal to the seconds 10 days from now. Simply put:
Of course, you probably want to handle quitting in a more sophisticated way.
Best,
Mark
Simply compare the seconds with a value equal to the seconds 10 days from now. Simply put:
Code: Select all
constant kBuildDate = 1191970419 -- 10/10/07
if the seconds > kBuildDate + 864000 then quit
Best,
Mark
Last edited by Mark on Wed Oct 10, 2007 1:44 pm, edited 2 times in total.
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode