Hello Marek, Sunday, January 8, 2012, 3:09:37 AM, you wrote:
MM> I am testing new macros in 5.0 and there is a problem with %RANDOMNUMBER If there are no parameters to the macro, it returns is hexadecimal. If a parameter is given, the return is decimal, unless a second parameter is "H" The %RANDOMNUMBER macro return number X so 0 <= X < Range You can specify the Range in the first parameter. If there are no parameters, Range=2147483647 and the return is hexadecimal. If there is a first parameter, than it is Range, and the return is decimal. If first parameter is 0 than it is assigned 2147483647. If the first parameter is less than 1 then it is assigned 1; if it is greater than 2147483647, then it is assigned 2147483647. -- Best regards, Maxim mailto:[email protected] ________________________________________________________ Current beta is 5.0.30.2 | 'Using TBBETA' information: http://www.silverstones.com/thebat/TBUDLInfo.html

