We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ef1eef8 + 5a39adb commit 5d1ccaaCopy full SHA for 5d1ccaa
randFreq.tcl
@@ -160,7 +160,7 @@ namespace eval ::randFreq {
160
#rgEx is regular expression that matches real number
161
set rgEx {^(?:[+-]?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+(?:\.[0-9]+)?)?)$|^(?:\.[0-9]+)$};
162
set C [open $filePath r];
163
- if {[llength $encoding]<1} {fconfigure $C -encoding $encoding;};
+ if {[llength $encoding]} {fconfigure $C -encoding $encoding;};
164
set lines [split [read -nonewline $C] \n];
165
close $C;
166
foreach l $lines {
0 commit comments