Joined: 18 May 2008 Posts: 4779 Location: Kingwood, TX
Posted: Thu 08 Dec 2011, 06:46 Post subject:
using the string directly oncd should be slightly smaller, but ...
if you plan to use it more than once - use a variable
if you dont want to have incomprehensible "magic numbers" - use a variable
if you may eventually use it more than once - use a variable
if it may change - use a variable (much easier to change it in one place)
if the string already exists in a variable - use a variable (unless an outside source might change it and bork your script) _________________ Check out my github repositories. I may eventually get around to updating my blogspot.
The mount points are always different, the path to them is always the same.
And ultimately, quite often apps. have their exec. files in different places.
The run script is generated just before the Squash app. file is made.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum