Author Topic: Undocumented commands?  (Read 150 times)

Peter2

  • Sr. Member
  • ****
  • Posts: 464
Undocumented commands?
« on: August 08, 2018, 02:56:10 AM »
I tried to update my syntax-highlighting-file and ....

- took all HTM-files from the help
- extracted all(?) strings starting with "dcl-" (approx. 760)
- and but the them to my syntax file

Then I took
- all LSP from "Samples" (DEU)
- extracted again all "dcl-" strings
- and found the following not defined in the syntax

(So - if they are not in the syntax the are not in HTM not in CHM so the are not documented?? Or outdated?)

Code: [Select]
dcl-BlockView-LoadDwg
dcl-Control-GetCurPos
dcl-Control-SetToolTipTitleColor
dcl-Form-GetRectangle
dcl-Form-SetPos
dcl-Grid-CalcColWidth
dcl-Grid-SetItemCheck
dcl-Grid-SetItemDropList
dcl-Grid-SetItemImage
dcl-Grid-SetItemStyle
dcl-ListBox-DeleteString
dcl-ListView-CalcColWidth
dcl-multifiledialog
dcl-PictureBox-DrawFillRect
dcl-Tree-COUNTITEMS
dcl-Tree-GETPARENT

It is not first priority, but maybe (on the long, cold winter evenings ...) it could bechecked?
Peter
ODCL 8.1.... German, AutoCAD 2017 - 2018, Win 7 x64, Win 10

roy_043

  • Sr. Member
  • ****
  • Posts: 348
Re: Undocumented commands?
« Reply #1 on: August 08, 2018, 05:52:55 AM »
Most of these are probably deprecated but still mentioned in the .chm Help file.

Example:
dcl-Form-SetPos
Can be found here:
Help > OpenDCL Reference > Methods > Form > Deprecated > SetPos

roy_043

  • Sr. Member
  • ****
  • Posts: 348
Re: Undocumented commands?
« Reply #2 on: August 08, 2018, 05:57:21 AM »
If you are really looking for all dcl functions, starting with
Code: [Select]
(atoms-family 0)May be a good idea.
I use it for my LSP syntax files.
« Last Edit: August 08, 2018, 05:59:13 AM by roy_043 »

Peter2

  • Sr. Member
  • ****
  • Posts: 464
Re: Undocumented commands?
« Reply #3 on: August 08, 2018, 06:22:16 AM »
If you are really looking for all dcl functions, starting with
Code: [Select]
(atoms-family 0)May be a good idea...
:-[ What should I say .. ;-)

brings 1103 "dcl-" and 1103 "dcl_"
Peter
ODCL 8.1.... German, AutoCAD 2017 - 2018, Win 7 x64, Win 10