Fyrd Argentus Posted July 23, 2021 Report Share Posted July 23, 2021 Why am I getting this warning? I tried integer vs real values in the variables and that doesn't matter. Quote Link to comment Share on other sites More sharing options...
Fyrd Argentus Posted July 23, 2021 Author Report Share Posted July 23, 2021 (edited) Even weirder. I can make FLOOR function both work and fail, in the same code block. ????? Edited July 23, 2021 by Fyrd Argentus Quote Link to comment Share on other sites More sharing options...
Fyrd Argentus Posted July 23, 2021 Author Report Share Posted July 23, 2021 (edited) MAJOR ALARM! I've traced it to the weirdness that MDScript can't add three variables together at once!!!!!!!!!!!!!!!!!!!!!!!!!!! The first code below gives wrong answer, 10. The second gives the right answer, 21. I sure hope this is something new and temporary. Edited July 23, 2021 by Fyrd Argentus Quote Link to comment Share on other sites More sharing options...
Fyrd Argentus Posted July 23, 2021 Author Report Share Posted July 23, 2021 Now this won't even work. Have we been hacked? Has php changed the way variables are defaulted to string vs numbers? Quote Link to comment Share on other sites More sharing options...
Root Admin Chewett Posted July 23, 2021 Root Admin Report Share Posted July 23, 2021 16 minutes ago, Fyrd Argentus said: Now this won't even work. Have we been hacked? Has php changed the way variables are defaulted to string vs numbers? Is your `@Vz` meant to be `@vz` (fifth line) Fyrd Argentus 1 Quote Link to comment Share on other sites More sharing options...
Root Admin Chewett Posted July 23, 2021 Root Admin Report Share Posted July 23, 2021 37 minutes ago, Fyrd Argentus said: Again you have `@Vz` here on the fifth line, and not `@vz` Fyrd Argentus 1 Quote Link to comment Share on other sites More sharing options...
Fyrd Argentus Posted July 23, 2021 Author Report Share Posted July 23, 2021 How embarrassing. Has MDScript always been case sensitive? And does this mean we have 104 variables to work with, not 26? Quote Link to comment Share on other sites More sharing options...
Root Admin Chewett Posted July 24, 2021 Root Admin Report Share Posted July 24, 2021 I'm not sure, possibly. Quote Link to comment Share on other sites More sharing options...
Fyrd Argentus Posted July 24, 2021 Author Report Share Posted July 24, 2021 (edited) No such luck. Only the first line of this did not generate an error. @va=1; //@Va=2; //@vA=3; //@VA=4; echo @va.@Va.@vA.@VA."<br>"; Interestingly, output was "1VavAVA" Furthermore echo @VABROOM."<br>"; Generates output "VABROOM" Edited July 24, 2021 by Fyrd Argentus Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.