R
RP
Hi all, I was wondering if it is possible to execute this code and if so,
how to go about doing it?
Dim val1, val2 as integer
val1 = 10
val2 = 15
Dim str as string = "avg(val1, val2)"
eval (str) ??
function avg(val1 as integer, val2 as integer) as integer
return ((val1+val2)/2)
end function
TIA,
RP
how to go about doing it?
Dim val1, val2 as integer
val1 = 10
val2 = 15
Dim str as string = "avg(val1, val2)"
eval (str) ??
function avg(val1 as integer, val2 as integer) as integer
return ((val1+val2)/2)
end function
TIA,
RP