Use ref seq instead. shallow only works inside procs and not globally. Also it's meant for optimization only and shouldn't be relied upon to provide reference semantics since it may choose not to if it's more efficient not to. It really should only be used in the case where your copying from a var variable but don't plan to ever touch that var variable again so copying it by reference is harmless. Regardless it's probably a premature optimization in most cases.
- Passing a sequence by reference to a data type ameerwasi
- Re: Passing a sequence by reference to a data type Stefan_Salewski
- Re: Passing a sequence by reference to a data typ... ameerwasi
- Re: Passing a sequence by reference to a data... SolitudeSF
- Re: Passing a sequence by reference to a ... Stefan_Salewski
- Re: Passing a sequence by reference ... solo989
- Re: Passing a sequence by refere... ameerwasi