> is numeric comparison: (79 > 200) is false. gt is string comparison:
("79" > "200") is true because "7" is lexically larger than "2".


On Sat, Jul 28, 2018 at 1:54 AM ToddAndMargo <toddandma...@zoho.com> wrote:

> Hi All,
>
> Why does this work:
>
>     if $CurlStr.chars > 200 {
>
> But this does not?
>
>     if $CurlStr.chars gt 200 {
>
> 79 was not larger than 200 ????
>
>
> Many thanks,
> -T
>


-- 
brandon s allbery kf8nh                               sine nomine associates
allber...@gmail.com                                  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net

Reply via email to