Page 1 of 1

PostPosted: Tue Jun 06, 2006 4:30 pm
by devinder
API's 39 to 143 are equivalent to API's listed on page 181 "Menu Routines" of the "DCAL Manual.pdf". Other routines are extensions to "Mouse/Keyboard Routines" starting page 66.

A small example on how to interpret what API's 39-143 do. Prefixed keyword 'menu' tells to call DataCAD sub-menu. No arguments are needed. DataCAD will give you the return value (i.e. retval/iwant) needed to go that menu. The remaining part abbreviated tells what function.

Code: Select allmenuCylnHori(   var iwant:wantType)    ----> Horizontal Cylinder
menuCylnVert(   var iwant:wantType)     ----> Vertical Cylinder from 3D menu
menuDirectry(   var iwant:wantType)    ----> Directory menu from Utility
menuDisplay(   var iwant:wantType)    ----> Display menu from Utility
menuDivide(   var iwant:wantType)    ----> Divide menu from Utility
070]
menuDmension(   var iwant:wantType)     ---->Dimensions menu from Utility
menuDome(   var iwant:wantType)     ---->Sphere menu from 3D
menuDoorSwng(   var iwant:wantType)      ---->Door menu from architect