It doesn't look as if phrases are used much - the concept is wonderful for
creating a report generator with drop-down options on screen or even just
making standardised reports much easier to request variants of...
with screen options for example
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Select File {filenameUK} Select Type of Fields {tax_fields}
Select Type of Sort {by_region}
{filenameUS}
{address_fields} {by_state}
{filenameZA}
{cultural_identity} {by_language}
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
the sentence comes out like
list personnel_US tax_fields by_state using_spanish_headings
which is something your average user can grasp..
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
it is also useful adding well named paragraphs can enhance the user
experience, eg
- to_audit_printer
- into_lab_dir
In this one creates a verb 'send'
send personnel_US tax_fields_US filter_by_country MEXICO sorted_by_state
using_spanish_headings to_MEXICO_office
where
- "send" --------------- is a pre-processor to simply strip out the
"to_MEXICO_office" code & execute it first
- personnel_US ---- the local distributed file
- tax_fields_US ---- a phrase containing US related taxfields
- filter_by_country- a phrase with the reqd BY, WITH, WHEN
- MEXICO ----------- a phrase specifying MEXICO as that country
- sorted_by_state - a phrase to sort by state
- using_spanish_headings - a phrase that contains a title written in
Spanish
- to_MEXICO_office - the name of a paragraph that sets up the MEXICO
office printer for the next report
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/