Author Topic: Equivalent of Getcfg & setcfg in Visual Lisp/ActiveX?  (Read 2440 times)

0 Members and 1 Guest are viewing this topic.

csgoh

  • Newt
  • Posts: 176
Equivalent of Getcfg & setcfg in Visual Lisp/ActiveX?
« on: April 15, 2005, 10:59:37 PM »
Hi all
What is the equivalent of the following code in Visual Lisp/ActiveX?

Code: [Select]

 (setq a (rtos (getvar "date") 2 0))
 (SETQ date3(GETCFG "AppData/Wingoh/data1"))
 (if (= date3 nil)
  (progn
   (setcfg "AppData/Wingoh/data1" a)
   (setcfg "AppData/Wingoh/data2" (itoa (+ (atoi a) 14)))
  )
 )


Thanks.

csgoh