BrightScript Debugger> l = [1,2]: l.append(l): ? l
BRIGHTSCRIPT: ERROR: roArray.Append: parameter is self reference
<Component: roArray> =
[
1
2
]
"EnTerr" wrote:BrightScript Debugger> l = [1,2]: l.append(l): ? l
BRIGHTSCRIPT: ERROR: roArray.Append: parameter is self reference
sub appendoplasty(l1, l2):
'if l1 <> l2 then l1.append(l2): return 'alas, case of "the dog in the manger"
tmp = []
tmp.append(l2)
l1.append(tmp)
end sub