This is a carry-over from the FSX SDK..
https://www.prepar3d.com/SDKv4/sdk/scri ... pting.html
Operators
Operator Operation Arguments Example Result
% taking modulo 1 5.3 % 5
As best I can tell, 5.3 % yields 0
Whereas 5 3 % yields 2, as one might expect..
Error in SDK documentation
-
- Lockheed Martin
- Posts: 361
- Joined: Fri Mar 17, 2017 3:58 pm
Re: Error in SDK documentation
Thanks for reporting this. We'll have it corrected in a future release.
-Brad
-Brad
Re: Error in SDK documentation
If 5 3 % yields 2 then indeed 1 5.3 % yields 0. 5.3 1 % would yield 5.
Ed Wilson
Senior Developer
Mindstar Aviation
Senior Developer
Mindstar Aviation
Re: Error in SDK documentation
You might also take a look at the description of the xml string operator, ssub. Another carry-over error from FSX.
https://www.fsdeveloper.com/wiki/index. ... ing_-_ssub
Bob
https://www.fsdeveloper.com/wiki/index. ... ing_-_ssub
Bob