How can I initialise a list

No.

You'll have to pass in scalars too.

if you want to know if a list is empty, you must provide a list...

image

Well, what reshape does is it creates a new list filled with whatever value you put in the first input slot. If you put nothing, then it would make a new list filled with nothing. So doing that makes sense. But what is empty? does is see if the list in the first input slot is empty. So if you put nothing, then it's not a list so it errors.

it don't put nothing, it put a null value. A null value isin't nothing... (in my opinion)

Undefined is more of a nothing value than null imo

You're right.

untitled script pic (2)

There are better ways to do it than that, also the topic is already solved (I think)
untitled script pic (8)
untitled script pic (9)
untitled script pic (10)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.