--- doc/docbase/instrument_scripts/nksp/real_unit_final/01_nksp_real_unit_final.html 2019/09/16 16:16:09 3602 +++ doc/docbase/instrument_scripts/nksp/real_unit_final/01_nksp_real_unit_final.html 2019/09/17 17:21:13 3603 @@ -27,7 +27,7 @@ And since these are new development features, they still might be subject to change. -

64-Bit Integers

+

64-Bit Integers

First of all, integers, i.e. integer number literals (as e.g. 4294967295), integer variables (like declare $foo := 4294967295), or @@ -43,7 +43,7 @@ But let's get on.

-

Real Numbers

+

Real Numbers

You are finally no longer limited to integer math with NKSP. You can now also use floating point arithmetics which will make calculations, @@ -51,7 +51,7 @@ Sounds a bit more interesting, doesn't it?

-

Variables

+

Variables

We call those floating point numbers @@ -114,7 +114,7 @@ this gap in NKSP. -

Type Casting

+

Type Casting

Like KSP we are (currently) quite strict about your obligation to distinguish clearly between integer numbers and real numbers with NKSP. That means blindly @@ -350,7 +350,7 @@ scripting: its guaranteed real-time stability and runtime determinism. -

Standard Measuring Units

+

Standard Measuring Units

If you are coming from KSP then you are eventually going to think next "WTF? What is this all about?". But hang with me, no matter how often you @@ -359,7 +359,7 @@ have a convenient fix for that.

-

Unit Literals

+

Unit Literals

Let's consider you wanted to pause your script at a certain point for let's say 1 second. Ok, you remember from the back of your head that you need to use the @@ -693,7 +693,7 @@ exactly like this function did before introduction of units feature in NKSP). -

Unit Conversion

+

Unit Conversion

Even though you are not allowed to change the unit type of a variable itself by assignment at runtime, that does not mean there was no way to get rid of @@ -788,7 +788,7 @@ type for all its elements to retain the parse-time determinism that we were talking about. -

Finalness

+

Finalness

Here comes another new core language feature of NKSP that you certainly don't know from KSP (as it does not exist there), and which definitely requires an