Not sure this will help much, but I think it's what you're requesting: void function runScript(string sScriptName) formatStringWithEmbeddedFunctions("<$" +sScriptName +">") endFunction On Mon, Jul 23, 2012 at 08:16:57PM +0700, Dang Manh Cuong wrote: Hi listers In some cases i have more than one script wich have the same body, but the last line of it calls an other script (perform script). So is their anyway to write a function with a parameter, and use the perform script method at a variable? If we can do that, I think the script will be much smaller. Thanks for any advisor ________________ Dang Manh Cuong HCMC University of Pedagogy: The Psychology and education Mobile: +84 902-572-300 E-mail: dangmanhcuong@xxxxxxxxx Yahoo! ID: manhcuong0312 Skype name: dangmanhcuong facebook: http://facebook.com/dangmanhcuong Blog: http://vi.netlog.com/Cuong_littlecat Website: http://ngoisaodanduong.com http://www.saomaicenter.org Projec-Website: http://dangmanhcuong.googlecode.com __________??? View the list's information and change your settings at //www.freelists.org/list/jawsscripts -- Doug Lee, Senior Accessibility Programmer SSB BART Group - Accessibility-on-Demand mailto:doug.lee@xxxxxxxxxxxxxxxx http://www.ssbbartgroup.com "While they were saying among themselves it cannot be done, it was done." --Helen Keller __________� View the list's information and change your settings at //www.freelists.org/list/jawsscripts