3

Sorry for my dumb question, but how can I get the size of a set (the max index number)?

Is there a built in function, or i have to count it in a loop?

1 Answers1

2

The command you're looking for is nops.

That's short for "number of operands", and it also works for lists.

acer
  • 6,671
  • 15
  • 15