Syntax
- From: mohitanchlia@xxxxxxxxx
- Date: Fri, 28 Sep 2007 10:03:06 -0700
I can't find good tutorial about syntax of / %.
In expect script I am trying to do something like this:
set size [file size $tp_receive_to_path]
# Now check if it return 0
if { $size mod 72 != 0 } {
# receive file! Retry
send -s -- "get $tp_receive_to_tmppath
$tp_receive_to_path\r"
}
Is syntax of if and mod correct ?
.
- Follow-Ups:
- Re: Syntax
- From: Cameron Laird
- Re: Syntax
- From: Alexandre Ferrieux
- Re: Syntax
- Prev by Date: Re: ActiveState releases ActiveTcl 8.4.16 and ActiveTcl8.5.0 Beta 9
- Next by Date: Re: ANNOUNCE: eTcl 1.0-rc23 (based on 8.4.16)
- Previous by thread: Simple parser for C/C++
- Next by thread: Re: Syntax
- Index(es):