Question about join command
From: clarissa (tlan_bach_at_yahoo.ca)
Date: 10/21/04
- Previous message: GizmoGorilla: "Re: ASCII Line graphics in tcl"
- Next in thread: lvirden_at_gmail.com: "Re: Question about join command"
- Reply: lvirden_at_gmail.com: "Re: Question about join command"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 21 Oct 2004 14:40:35 -0400
The join command act differently in my scripts.
1st script:
>set a "a b c"
>set b [join $a ""]
>puts $b
the end of 1st script I got "abc" print out
2nd script:
>set a "a b c"
>set b [join $a ""]
>set i [expr 0x$b]
>puts $b
>puts $i
the end of 2nd script I got
a0b0c
658188
I use expect 5.21 for windows XP that includes tcl and tk 8.0
Why the join command stuff 0 in my 2nd script?
Thanks in advance for your answers
- Previous message: GizmoGorilla: "Re: ASCII Line graphics in tcl"
- Next in thread: lvirden_at_gmail.com: "Re: Question about join command"
- Reply: lvirden_at_gmail.com: "Re: Question about join command"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|