Page 1 of 1

Warning on insufficiently sized variable assignment

Posted: Tue Dec 27, 2016 10:18 pm
by Mistrel
I believe this check should only be available with the debugger enabled and only occur for functions returning a result and not ubiquitously where truncation might occur on literal or variable-to-variable assignment as this might be desired.

Example:

Code: Select all

a = ElapsedMilliseconds()
Case in point:

http://www.purebasic.fr/english/viewtop ... 13&t=67312