Page 1 of 1

Tables into CTables

Posted: Wed Jan 03, 2018 4:07 pm
by Alpha
It is possible to change this define (Tables) into define (CTABLES)?

define !SIMPLE (!pos !cmdend).
TABLES
/FORMAT ZERO MISSING('')
/ptotal $t1 'TOTAL'
/GBASE=CASES
/TABLE $t1 + !1 by !demography1
/STATISTICS
count($t1 (f5.0)'' )
cpct(!1(pct5.0)'' : !demography2)
/title ''
/caption ''.
!enddefine.


DEFINE !demography1 ()
x + GENDER + AGE.
!ENDDEFINE.

DEFINE !demography2 ()
x GENDER AGE.
!ENDDEFINE.

Re: Tables into CTables

Posted: Thu Jan 04, 2018 2:10 pm
by statman
Takes some syntax knowledge but if you have CTables then why?

But ................