View Single Post
Old 01-11-2022, 09:56 PM   #281
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,228
Karma: 77935877
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Question: When using a stored template that returns 'True' if it matches certain criteria (psuedobools), I noticed these work the same:

Code:
program:
	if stored_returnstrueifvalid() == 'True' then 'output' fi
Code:
program:
	if stored_returnstrueifvalid() then 'output' fi
When do I need I keep the "== 'True'" bit?

Also, is there any good way to test two templates getting same results on a set of books aside from shuffling it between the tester and Notepad? I don't believe there's a way to have two tester instances open.

Last edited by ownedbycats; 01-11-2022 at 10:31 PM.
ownedbycats is online now   Reply With Quote