I was playing with OOP/ABL in v10.1A, when I noticed my class unnecessarily growing because of repeatedly creating set/get methods. Some OOP language I've seen has one liner setter/getter. I thought there should be a way of having "one-liner" (well, not really) as well for 10.1A. :-)
So here goes..enhance if you must..
/* ===================== here's the meat!!! includes/SetGet.i 1 - variable name 2 - data type ===================== */ DEFINE PROTECTED VARIABLE {1} AS "{2}" NO-UNDO. METHOD PUBLIC "{2}" get{1}():