Difference between revisions of "DollarAnd"

From Scriptwiki
Jump to: navigation, search
m (See Also -> Also See)
m (Reverted edits by Albie (talk) to last revision by Aca20031)
Line 11: Line 11:
  
  
==Also See==
+
==See Also==
 
* [[DollarPlus]]
 
* [[DollarPlus]]
 
* [[Proper coding format]]
 
* [[Proper coding format]]
  
[[Category:Other Identifiers]]
+
[[Category:Other identifiers]]

Revision as of 19:01, 21 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