Table of Contents
Just like any other high-level programming language YCP has typed variables to hold data of different kinds:
This is the most simple data type. It has only one possible value:
nil
. Declaring variables of this type doesn't make
much sense but it is very useful to declare functions that need not
return any useful value. nil
is often also
returned as an error flag if functions fail in doing their job
somehow.