*! version 1.0.0  13Feb2018
program define mylistc, eclass

        version 15.1

	syntax varlist(numeric max=3) [if] [in]
	marksample touse

	display "Variables listed:  `varlist'"
	plugin call mylistw `varlist' if `touse' `in'

end

program mylistw, plugin