DollarAnd: Difference between revisions

From Scriptwiki
Jump to navigation Jump to search
Aca20031 (talk | contribs)
mNo edit summary
 
m Changed category casing so it is grouped with the others.
Line 15: Line 15:
* [[Proper coding format]]
* [[Proper coding format]]


[[Category:Other identifiers]]
[[Category:Other Identifiers]]

Revision as of 21:35, 10 February 2011

$& is used to split one long line over multiple lines for script readability.

$& 

Examples

echo -atg This is a really long line that, if there were complicated coding identifiers and variable names, $&
 would get really confusing and cramped without the added help of the $& identifier.

While this seems useless, if there was a heavy use of identifiers and such throughout the line, it would help make it much more readable.


See Also