Re: [phix] if 'number' then why not 'list' ?
- Posted by irv Feb 21, 2021
- 1064 views
- 1 is a number
- 3.1415 is a number
- "Hello" is a string
What is {1} ? (a container containing one number)
What is {1,2,3.14} ? (a container containing a sequence of 3 numbers)
What is {"Hello",1,2} ? (a container containing 1 string and 2 numbers)
What is {"Hello",{1,2,3}} ? (a container containing 1 string and 1 sequence of 3 numbers)
Maybe the word container would make the concept easier to explain?