EVALUATE function

I have a function thar returns a boolean.

The functon parameter is a Integer x, but when i Call my Function the parameter is a CHAR:

How can I use EVALUATE function, to change “VAT Registration No.” to type Integer?

New_function(EVALUATE(“VAT Registration No.”),???);

[Ok :=] EVALUATE(Variable, String[, Number])
As the help says if return value is ok . the string been converted to the variable.
var myint: integer;
Thus , if (evaluate(myint, "VAT REGISTRATION No.") then you have the the integer format of the VAT REG NO.

Thanks

My problem is solved.