Use this forum to post questions about syntax problems or general programming issues. Questions on implementing a particular aspect of econometrics should go in "Econometrics Issues" below.
Also, note that we do discuss this in the Introduction to RATS (assuming you have version 8--it should be covered in Getting Started in older versions). See pages 53-54 of the Introduction (or just look up "Trend series" in the Index to the Introduction).