Spring Semester 1997
For this exercise I use the hydrologic parameter to calculate the PEAK FLOW using the equations shown on the exercise 1 and exercise 2. The results will be added to the polygon attributes table and also will be shown on the msgbox.
Here is my example script, called peakflow
It uses the following Avenue functions: Av, GetActiveDoc, findDoc, for each rec, list.make, list.add, field.make,#field_double, list.deepclone, if...then...elseif..., Vtab.setEditable, ture, false, Vtab.addField, Vtab.SetValue, Msgbox.Info.