common code patterns

Monte Goulding monte at appisle.net
Thu Aug 10 20:42:32 EDT 2017


Over on the Parent of Target thread we are discussing local var access so I wonder if this is a useful common pattern:

local s<Something>

command set<Something> p<Something>
   put p<Something> into s<Something>
end set<Something>

function get<Something>
   return s<Something>
end get<Something>

Cheers

Monte



More information about the use-livecode mailing list