Paul H 0 Posted December 5 I am getting some unexpected behaviour when declaring inline floating point variables using implicit typing. Not sure if it is a compiler bug or expected behaviour. See this (from Delphi 12.2): (if I insert as code the system thinks I am sending spam!!! Does anyone else get this? Anyway, hope it is clear) I would have expected the implicit type rules of inline variables to create doubles where the assigned type is a double, but this isn't happening. Share this post Link to post
Vandrovnik 215 Posted December 5 foo(GetDouble) is expected error - you cannot pass function result to a procedure with var parameter. Share this post Link to post