11.07.2015 Views

NetEx EFT213 Reference Manual Rel 5.4

NetEx EFT213 Reference Manual Rel 5.4

NetEx EFT213 Reference Manual Rel 5.4

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

ExamplesTo prompt a user for input into variable name with a default name of Ed, and a prompt of Name?, type:eFT> ask -prompt “Name? ” -default Ed nameName? Joe SmithThe user’s response here Joe Smith is read into variable name. Now using standard <strong>NetEx</strong>/eFT string substitutionsyntax, you can display the value of name with the TEXT command:eFT> text Hello {name}.eFT: Hello Joe Smith.Alternatively, you can display the value of variable name: as:eFT> show variable nameeFT: NAME ............. Joe SmithIf you wanted to prompt for the variables day and date, you could type:eFT> ask -prompt “Enter day and date: ” day dateEnter day and date: Tuesday January 10, 2012The value of variable day would become Tuesday and the value of variable date would be the remainder ofthe line which is the string January 10, 2012.<strong>Rel</strong>ated TopicsINPUT CommandSHOW CommandTEXT CommandREF-eFT213-R<strong>5.4</strong>-08 Command Descriptions Page 117

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

Saved successfully!

Ooh no, something went wrong!