Hi.
Is it possible to re-write this:
Code:
program:
words=raw_field('#words');
shelf_name=cmp(words, 50, 'Art', 'Drabble', 'Drabble');
shelf_name=cmp(words, 500, shelf_name, 'Ficlet', 'Ficlet');
shelf_name=cmp(words, 5000, shelf_name, 'Novel', 'Novel');
shelf_name=cmp(words, 50000, shelf_name, 'Long', 'Long');
shelf_name=cmp(words, 100000, shelf_name, 'Epic', 'Epic');
to use as an advanced icon-rule?