Then, isn't this correct?
Quote:
program:
words=raw_field('#words');
shelf_name=cmp(words, 1000, 'Short Story', 'Novel', 'Novel');
shelf_name=cmp(words, 5000, shelf_name, 'Novel', 'Novel');
shelf_name=cmp(words, 10000, shelf_name, 'medium', 'medium');
shelf_name=cmp(words, 20000, shelf_name, 'Long', 'Long');
shelf_name=cmp(words, 50000, shelf_name, 'Epic', 'Epic');
|