Re: Style idea for writing code that turns into documentation

new topic     » goto parent     » topic index » view thread      » older message » newer message
_tom said...
      --> atom : True (!0) if checked, False (0) if not checked 

That alone would slowly drive me nuts

_tom said...
    public function   --> atom : True (!0) if checked, False (0) if not checked 
        IsChecked  
        (  
        atom handle -- is the handle of the checkbox, radio or pushbutton widget to verify 
        ) 

And having to read code like that even more so. Anyway, would not the following be better final documentation, and just as easy to achieve?



IsChecked(atom handle)

handle is the id of a checkbox, radio or pushbutton widget

Returns True if the specified control is currently checked or depressed.

See Also:

| Checkbox | Radio | Pushbutton |



Pete

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu