On 7/5/07, J. Landman Gay <[EMAIL PROTECTED]> wrote:
It is so satisfying to be able to write whatever I need. Anyone else
done little personal stacks with Rev lately?
Finally got sick and tired of trying to track down self generated errors in
very long horizontal lists that are suppose to match. Think arrays and a
list of Keys matching a list of values, or my personal favourite at the
moment, a list of DB column names and a matching list of values.
So, New Main Stack, 3 fields, 1 for the Key/Column list, 1 for the Values
lists, and one for the Output. The entire script looks like this:
ON closefield -- placed in the Row2 field
put empty into field "Output"
REPEAT with x = 1 to the number of items in field "Row1"
put item x of field "Row1" & tab & item x of field "Row2" & return
after field "Output"
END REPEAT
END closefield
The result, the horizontal data is now displayed vertically, nicely lined up
to match. Finding extra, missing or mismatched data couldn't be easier.
It took all of 6 min to make, the question is, why didn't I do it months
ago!!
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution