jaminth 发表于 2007-8-1 13:29:00

怎样让LISP程序在预定的时期失效!!?

<p>怎样让LISP程序在预定的时期失效!!?</p><p>如LISP在2008年以后就不能运行!</p>

phoenixdjq 发表于 2007-8-1 19:51:00

<p>采用注册表的方法吧</p><p>去编程区找找吧</p><p>我以前见过的</p>

xdp_monkey 发表于 2007-8-2 15:46:00

<p><font color="#000000">加入这段代码就行了</font></p><p>(setq dt (getvar "cdate"))</p><p>&nbsp;&nbsp; (if ( &lt;&nbsp;dt 01000101.0) (progn</p><p>&nbsp;&nbsp; (setq dt( + dt 20000000.0))</p><p>&nbsp;&nbsp;&nbsp;&nbsp; )</p><p>&nbsp;&nbsp;&nbsp;&nbsp; )</p><p>&nbsp;(if ( &lt;&nbsp;dt 20080401.0) (progn</p><p>function xxx//你的程序代码</p><p>)</p><p>)</p><p></p><p></p>
页: [1]
查看完整版本: 怎样让LISP程序在预定的时期失效!!?