View Single Post
Old 03-31-2021, 05:02 AM   #3
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,475
Karma: 8025702
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by ownedbycats View Post
Is this the best way to do it for a composite column?

Code:
program:
	x = $$#integer;
	if 
		x !=# 0 
	then
		x
	fi
That works fine, but I would use
Code:
cmp(t = $#myint, 0, t, '', t)

Last edited by chaley; 03-31-2021 at 06:19 AM. Reason: Fix the template
chaley is offline   Reply With Quote