Variables in SRON
Variable is an alias to the memory address which contains your data.
If you don't know what could be the type of value you are getting then you can use 'Any' keyword, like this:
Below is a given code to declare variables:
Variable Naming Rules
Before naming a variable or even a function, you should follow some rules:
The name of the variable should not be a keyword.
It should start with an alphabet or underscore and should contain only alphabets, underscores, and numbers.
It's length must be less than 32.
Last updated