On 10/12/2011 02:39 PM, Sven Barth wrote:
 I'd say yes (the only point I'm really unsure about is "var"-arguments).

I did this list according to what I expect regarding to different numerical types (like integer and real) or two really different string types (like short string and long string).

With that, an incorrectly used var parameter results in a compiler error message, while the other cases result in conversion (not really sure with type cast).

In fact the var parameter case is most interesting regarding new strings.

While in the other cases the system can decide at runtime what do do (with respect to the encoding ID (s) ), with a var parameter the type names might be used to generate an error message at compile time.

-Michael
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to