1. Re: When to use Which variable type?
- Posted by Marcel Kollenaar <M.Kollenaar at SLO.NL> Oct 10, 1996
- 1633 views
Lucien, You wrote: > Rob et al; > is there any rule (or logic) as to when one should use an object, > or a sequence, or any other types over others? If you don't know what type you can expect use the objecttype. This type can work with integers, atoms and sequences. Then you can test if the information you got on the object are atoms or sequences with functions atom() or sequence(). Look at the manual. > in the collection of code that i have studied thus far, there seems > to be no logic as to why a variable is defined as a sequence or > as an object. If you use objects you can make the code you make type independant Marcel Kollenaar M.Kollenaar at slo.nl