repeat for each line txtln in fld "Fieldtxt" repeat with i = the number of words of txtln down to 1 put word i of txtln & space after txtrev end repeat put cr after txtrev -- preserve line end repeat put txtrev