File: check.tcl

package info (click to toggle)
libtclobjc 1.3-0
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 316 kB
  • ctags: 77
  • sloc: objc: 2,108; makefile: 237; ansic: 186; sh: 174; tcl: 13
file content (10 lines) | stat: -rwxr-xr-x 230 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
set mylist [[List alloc] init]
$mylist name
set myobject [[Object alloc] init]
$mylist count
$mylist addObject: $myobject
$mylist count
$mylist addObject: $myobject
$mylist count
$mylist addObjectIfAbsent: $myobject
$mylist count