05-04-2014, 09:38 AM
|
#6
|
Wizard
Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
|
is this the correct way:
Quote:
program:
words=raw_field('#words');
shelf_name=cmp(words, 1000, 'Short Story', 'Novelette', 'Novelette');
shelf_name=cmp(words, 5000, 'Novel', 'Novella', 'Novella');
shelf_name=cmp(words, 20000, 'Medium', 'Novel', 'Novel'); shelf_name=cmp(words, 40000, 'Long', 'Novel', 'Novel'); shelf_name=cmp(words, 100000, 'Epic', 'Novel', 'Novel');
|
|
|
|