|
Here is a very simple car mileage tracking
application created with Pendragon Forms VI.
The application records the date, the odometer reading , the trip
odometer reading (miles travelled since last refueling), and the number
of gallons purchased. It calculates the average miles per gallon.
Here is a screen shot from an iPod touch 2G:

This form has a CALCULATE script in the MPG field which calculates the
efficiency:
calculate:
{skip calculation if trip is null} if
$[trip] = null then return endif
{skip
calculation if gallons is null or zero} if $[gallons] = 0 then
return endif
answer = $[trip] /
$[gallons] Here is a
link to a ZIP file containing this form design:
MileageLog.zip To import this form, unzip the file
and import the MileageLog.pff file into Pendragon Forms VI. |