2009-03-08 15:01 UTC
C-Speak
(dcl_ListBox_SelectItem ItemIndex [as Long] {Select [as Boolean]})
Lisp-Speak
(dcl_ListBox_SelectItem ItemIndex [as INT] {Select [as T or NIL})
AutoLISP functions do not allow optional arguments. The above must be some other kind of function.
When I started with ObjectDCL I found much of the documentation confusing because
of my lack of experience with C++ terminology. Those users with experience in languages other
than lisp will recognize C-Speak. AutoLISP only users will find it confusing.
In AutoLISP I would write the above:
((dcl_ListBox_SelectItem ControlName idx toggle)
;ControlName symbol
;idx 0 based int index
;toggle T or Nil
There has been a huge effort bringing the help along to this point. This is not a suggestion to change it.
We live with a differently arranged number pad on keyboards and telephones.
(dcl_ListBox_SelectItem ItemIndex [as Long] {Select [as Boolean]})
Lisp-Speak
(dcl_ListBox_SelectItem ItemIndex [as INT] {Select [as T or NIL})
AutoLISP functions do not allow optional arguments. The above must be some other kind of function.
When I started with ObjectDCL I found much of the documentation confusing because
of my lack of experience with C++ terminology. Those users with experience in languages other
than lisp will recognize C-Speak. AutoLISP only users will find it confusing.
In AutoLISP I would write the above:
((dcl_ListBox_SelectItem ControlName idx toggle)
;ControlName symbol
;idx 0 based int index
;toggle T or Nil
There has been a huge effort bringing the help along to this point. This is not a suggestion to change it.
We live with a differently arranged number pad on keyboards and telephones.