if {![info exist arrayoftk($atk)]} {
set pkfile [woklocate -p ${atk}:PACKAGES: $location]
set arrayoftk($atk) 1
- if {[clength $pkfile]} {
+ if {[string length $pkfile]} {
set lst {}
for_file udintk $pkfile {
set arrayoftk($udintk) $atk
cd $theullibdir
foreach atempld [glob *.ldt] {
source $atempld
- set goodlen [expr [clength $atempld] - 2]
+ set goodlen [expr [string length $atempld] - 2]
set aldfile [crange $atempld 0 $goodlen]
set ldfileid [open $aldfile w]
puts $ldfileid [WOKDeliv_Makeld $thefact]
set tooolong 0
- if { [clength $theline] > 100} {
+ if { [string length $theline] > 100} {
set tooolong 1
set thelongcmdfile "/tmp/wokenv_[id process]_${format}_long"
unlink $thelongcmdfile
}
- while { [clength $theline] > 100} {
+ while { [string length $theline] > 100} {
exp_send_user -- "[crange $theline 0 100]\\\n"
- set theline [crange $theline 101 [clength $theline]]
+ set theline [crange $theline 101 [string length $theline]]
}
exp_send_user -- "$theline\n"