Thread: expire period ?
View Single Post
  #3 (permalink)  
Old 06-13-2006, 03:27 PM
raff1410's Avatar
raff1410 raff1410 is offline
Senior Member
 
Join Date: May 2006
Location: 24°10' E 54°24' N
Posts: 201
raff1410 is on a distinguished road
Wink Hmm............................................... ..

Let's say you want to protect profitable EX4 file ...
You must change int start() section...

//-------->
int start()
{
if(Year()>2006 || Month()>7)
{
Alert("This EA was expired! Please re-new your licence.");
return(0);
}


// put code here

}
//-------->


It will work from 2006.01 to 2006.07...
THNX
Raff
__________________

Last edited by raff1410; 06-14-2006 at 08:17 AM.
Reply With Quote