yes, that will work. i will leave the translation of pseudocode to lingo
as an exercise for you. fun *and* educational.

you may want to encrypt the date, by the way...


OH and why don't you deliver this via shockwave?!?!?!?!? then you can
just remove the movie from your server whenever you darn well feel like it!

-bhakti

Jon Paul Alongi wrote:
> 
> hi people
> 
> i building a test projector for a possible client accross the net....
> to make sure they dont use the software with out paying me...i want to
> be able to have the program TIME OUT after about 7 days and not be able
> to open again....
> 
> ive got my theories how to do this but its all Pseudo code...i dont
> really know the reall code....
> 
> i would imaine something like this:
> 
> on startup...
> if there is a textfile called "myprefs.txt" then
> read my text file.
> 
> if the text file contains nothing then
> write the date to the file.
> 
> else
> read date into memory and compare with toadys date.
> calculate number of days.
> 
> if number of days is => 7 then QUIT
> if number of days is < 7 then continue.
> 
> 
> Thankyou in advance for your help
> 
> 
> Jon
> 
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
> email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
> Lingo-L is for learning and helping with programming Lingo.  Thanks!]

-- 
R. Bhakti Klein
Multimedia Programmer
http://www.DLWorkshop.net
��
Baritone, Wicki6
http://www.wicki6.com
���
"On Earth, you can only do little things;
but you can do them with a lot of Love."
                              -- Mother Theresa

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to