aboutsummaryrefslogtreecommitdiff
path: root/README.oo
AgeCommit message (Collapse)AuthorFilesLines
2022-08-20oo: better object constructionSteve Bennett1-7/+22
Now a default constructor is created, as an alias for defaultconstrutor. The constructor is passed the arguments to new and by default this accepts a dictionary that is checked for valid instance variables and sets them. However the constructor can be replaced by one that takes arbitrary arguments. Thus we can how have: a new -optiona -optionb And the constructor is invoked with arguments '-optiona -optionab'. This makes object initialisation more flexible. ** Note: This is an incompatible change if you have classes with a constructor and you create object instances with new <dict>. Signed-off-by: Steve Bennett <steveb@workware.net.au> Documentation fixes - Co-authored-by: Adrian Ho <the.gromgit@gmail.com>
2016-03-27oo: constructor, unknown and bug fixesSteve Bennett1-0/+14
- Added support for constructor, runs on new object creation - Added support for "unknown" method - Rename some dispatch variables (add double underscore) to avoid collision with user variables Signed-off-by: Steve Bennett <steveb@workware.net.au>
2016-02-11docs: fix more typosSteve Bennett1-3/+3
Some identified by frgm Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-12-02Correct the documentation for 'local'Steve Bennett1-1/+1
Also some general documentation cleanups and trailing white space removal. Signed-off-by: Steve Bennett <steveb@workware.net.au>
2010-12-16Add a pure-TCl OO implementation to JimSteve Bennett1-0/+253
And document the OO extension in README.oo Signed-off-by: Steve Bennett <steveb@workware.net.au>