[fpc-pascal] Untyped var params

Ryan Joseph ryan at thealchemistguild.com
Wed Jan 4 15:29:30 CET 2017


I’ve seen functions that use the untyped params like:

function GetSomething (var something): boolean;

This seems like something useful I would like to use but how can you assign to the parameter? I tried but I got an error message which is confusing because it’s a “var” after all.

Thanks.

Regards,
	Ryan Joseph




More information about the fpc-pascal mailing list