home *** CD-ROM | disk | FTP | other *** search
Text File | 1993-10-27 | 1.2 KB | 29 lines | [TEXT/$Tcl] |
-
- lindex [lindex [asdinfo BugTRacker.AS] 4] 0
- lindex [lindex $m2 4] 0
- lindex $m2 0
- Single
- asdinfo BugTRacker.AS
- set m2 {Single "Macintosh " 0x00010000 3 {9 "Finder Information" 98 16 {"STAK" "WILD" 0x0001 0}}{2 "Resource Fork" 114 0 {}}{1 "Data Fork" 114 8192 {}}}
- set m2 {Single "Macintosh " 0x00010000 3 {9 "Finder Information" 98 16 {"STAK" "WILD" 0x0001 0}} {2 "Resource Fork" 114 0 {}}{1 "Data Fork" 114 8192 {}}}
- Single "Macintosh " 0x00010000 3 {9 "Finder Information" 98 16 {"STAK" "WILD" 0x0001 0}}{2 "Resource Fork" 114 0 {}}{1 "Data Fork" 114 8192 {}}
- set m2 [asdinfo BugTRacker.AS]
- # Result = 1.
- # list element in braces followed by "{2" instead of space
- Single "Macintosh " 0x00010000 3 {9 "Finder Information" 98 16 {"STAK" "WILD" 0x0001 0}}{2 "Resource Fork" 114 0 {}}{1 "Data Fork" 114 8192 {}}
- {Single "Macintosh " 0x00010000 3 {9 "Finder Information" 98 16 {"STAK" "WILD" 0x0001 0}}{2 "Resource Fork" 114 0 {}}{1 "Data Fork" 114 8192 {}}}
-
- set m {this is a {THIS IS A {This Is A}} test}
- this is a {THIS IS A} test
- lindex $m 3
- lindex [lindex [lindex $m 3] 3] 0
- This
- THIS IS A {This Is A}
- lindex [lindex $m 3] 0
- THIS
- THIS IS A
- THIS IS A
- a
- is
- this
-