Welcome to NKPL!


NKPL Docs

In this page, We'll understand what a variable in NKPL is.

What's a variable?

Variable is something who's value is not fixed. It always changes. In Algebra, Variable is something who's value varies. Similarly, In NKPL, Variable stores data. For example, Your name can be a variable. Given below is an example of variable which stores some text and then writes it in the console.

1. vary thisText = "Hello There";

2. write "25 x 1 = 25";