03.01.2013 Views

Customization Guide (.pdf) - Documentation & Online Help - Autodesk

Customization Guide (.pdf) - Documentation & Online Help - Autodesk

Customization Guide (.pdf) - Documentation & Online Help - Autodesk

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

index<br />

nth<br />

Returns the specified member of a comma-delimited string.<br />

$(index, which, string)<br />

Assumes that the string argument contains one or more values delimited by<br />

the macro argument separator character, the comma. The which argument<br />

selects one of these values to be extracted, with the first item numbered 0.<br />

This function is most frequently used to extract X, Y, or Z coordinate values<br />

from point coordinates returned by $(getvar).<br />

Quick Reference<br />

System Variables<br />

MENUECHO<br />

Sets menu echo and prompt control bits.<br />

Evaluates and returns the argument selected by which.<br />

$(nth, which, arg0 [, arg1,…, arg7])<br />

If which is 0, nth returns arg0, and so on. Note the difference between $(nth)<br />

and $(index); $(nth)returns one of a series of arguments to the function,<br />

while $(index) extracts a value from a comma-delimited string passed as a<br />

single argument. Arguments not selected by which are not evaluated.<br />

Quick Reference<br />

System Variables<br />

MENUECHO<br />

340 | Chapter 5 DIESEL<br />

Sets menu echo and prompt control bits.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!