View Single Post
Old 04-13-2021, 01:35 PM   #37
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: 10,650
Karma: 74166147
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Question: If you have two if statements that are mutually exclusive:

Code:
program:
	if $#enum== 'foo' then
		'foo'

	else $#enum == 'bar' then
		'bar'

	fi
does it matter what order they are in, as long as the other statements are all in the right order?

Last edited by ownedbycats; 04-13-2021 at 01:38 PM.
ownedbycats is online now   Reply With Quote