What difference (object and sequence)
- Posted by doug edmunds <dae at WORLDACCESSNET.COM> Aug 20, 1997
- 820 views
Is there any difference (size, performance, etc.) between declaring a variable as an object and declaring it as a sequence, other than type checking? example: function F_A (object item) --do something return item end function function F_B (sequence item) --do something else return item end function --test--- sequence xxx, yyy xxx = {441, 1232, "dog", "cat"} yyy = F_A(xxx) --pass xxx back as an object, return an object yyy = F_B(xxx) -- pass xxx as a sequence, return a sequence printf(1,"\ndone\n",{})