Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Configuration file for script?

Status
Not open for further replies.

Oddgeir

Programmer
Jul 10, 2000
6
NO
HI<br><br>Can anybody please tell me how to put all my arrays and variables from my script in a configuration file for so reading it into my script when I need it? This is for easier adding things to the script later on....<br><br>Thanks<br><br>Oddgeir
 
Hi,<br><br>Try the <b>require</b> keyword:<br><br><b><FONT FACE=monospace>require 'myfile.cfg';</b></font><br><br> <p>Mike<br><a href=mailto:michael.j.lacey@ntlworld.com>michael.j.lacey@ntlworld.com</a><br><a href= Cargill's Corporate Web Site</a><br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top