In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Sparks-R-Fun wrote: You should look at the DATA and READ statements. List your frequencies in a table like this. [CODE]FreqData: WDATA 1700, 1950,2200,1890,. etc[/CODE] Then set up a FOR. NEXT loop and use a READ statement to assign the next value from your data table to your "freqwanted" variable. I think that will get you started in the right direction. - Sparks ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=199486#m199995 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)