Quote:
Originally Posted by LibBikher
ok so it is working. What i am looking for is:
return "yes" if #asin = #file
return "no" if #asin ≠ #file
return "na" if #asin or #file is empty
|
Try this
Code:
program:
asin = raw_field('#enum2');
file = raw_field('#enum2');
first_non_empty (
strcmp(file, 'None', '', 'na', ''),
strcmp(asin, 'None', '', 'na', ''),
strcmp(file, asin, 'no', 'yes', 'no')
)
Note that it won't work if file or asin can ever be the word "None".