° It calculates the total cost for each item (individual
price x quantity),
° It adds up the overall total,
° It automatically capitalises post codes,
° It leaves out any blank address lines, so that you do
not have to fill in all of the fields.
*/
OPTIONS FailAt 100
OPTIONS RESULTS
/* Default contents */
invname = "Liz Oaten"
invcompany = "Digita International Ltd."
invadd1 = "Black Horse House"
invadd2 = "Exmouth"
invadd3 = "Devon"
invpostcode = "EX8 1JL"
invcountry = "England"
fromname = invname
company = invcompany
add1 = invadd1
add2 = invadd2
add3 = invadd3
postcode = invpostcode
country = invcountry
custinvname = "Customer's Name"
custinvcompany = "Customer's Company"
custinvadd1 = "Customer's Address"
custinvadd2 = "Customer's Address"
custinvadd3 = "Customer's Address"
custinvpostcode = "Customer's Address"
custinvcountry = "Customer's Address"
custname = custinvname
custcompany = custinvcompany
custadd1 = custinvadd1
custadd2 = custinvadd2
custadd3 = custinvadd3
custpostcode = custinvpostcode
custcountry = custinvcountry
defname = ""
defcompany = ""
defadd1 = ""
defadd2 = ""
defadd3 = ""
defpostcode = ""
defcountry = ""
defcustname = ""
defcustcompany = ""
defcustadd1 = ""
defcustadd2 = ""
defcustadd3 = ""
defcustpostcode = ""
defcustcountry = ""
product. = ""
price. = ""
quantity. = ""
prodcount = 1
product.prodcount = "Widget"
price.prodcount = "5.55"
quantity.prodcount = "10"
/* Foreign users can change the currency symbol below,
e.g. to 'DM' for German currency or "$" for USA. */
currency = "£"
/* Start */
START:
WizardReq TITLE "Invoice Wizard" LABEL "This Wizard will help you create a Sales Invoice." LABEL "" LABEL " Click Next or press Enter to continue to the next step" LABEL " click Previous to return to the previous step, if available" LABEL " click Cancel to quit without creating an invoice or" LABEL " click Finish to create an invoice using the default parameters." BUTTON 1 "_Next" BUTTON 3 "_Finish" BUTTON "-1" "_Cancel"