Quote:
Originally Posted by ownedbycats
Code:
program:
dates = list_count($#readdates, ',');
readcount = $$#timesread;
if dates != readcount then 'yes' fi
When both #readdates (tag-like) and timesread (integer) are undefined, this returns 'yes.' Why?
|
Because the string '0' (zero, list_count()) doesn't equal the string 'none' (raw_field()). If you used !=# then IIRC zero would equal none.