more like something that hasn’t been thought about or requested before.
you can simply write your own function and use that, something like
clone procedure(stringTheory destSt, stringTheory sourceSt)
code
destSt.start()
destSt.setValue(sourceSt)
loop x = 1 to sourceSt.records()
destSt.addLine(sourceSt.getLine(x))
end
! add assignments here for any other properties you want cloned
having done that, because in a class the first parameter is a pointer to the class itself, you can simply write:
localSt.clone(globalSt)
which is perhaps nicer looking than (but equivalent to)
clone(localSt, globalSt)
hth and cheers
Geoff R