View Single Post
Old 09-03-2020, 11:32 PM   #2
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
"If you build it, they will come."

I hate the current conditionals. There is something about "test" that means I just don't read it properly.

Of course, I'm expecting one of the first questions about using "if..then" to have code that looks like:

Code:
program:
if test(field('series'), field('series'), 'nonseries') then
   dir_name= field('series');
else
   dir_name= 'nonseries'
fi
And wonder why they never get "nonseries" as part of the result.

Of course it wouldn't be me. I'd never write something like that in other languages and then spend an embarrassing amount of time trying to work out what was wrong. No, not me, never.
davidfor is offline   Reply With Quote