I am using some functions in a DLL I wrote to create some strings form a line of text. I need to convert some of these strings to float(real) within a function can someone expalin to me how.
code----------------------------------------------
Function LenOfCallHr (S: String): String; stdcall;
Begin
Result := copy(S,37,2);
end;
Function LenOfCallMin (S: String): String; stdcall;
Begin
Result := copy(S,40,2);
end;
Function LenOfCallSec (S: String): String; stdcall;
Begin
Result := copy(S,43,2);
end;
--------------------------------------------------
code----------------------------------------------
Function LenOfCallHr (S: String): String; stdcall;
Begin
Result := copy(S,37,2);
end;
Function LenOfCallMin (S: String): String; stdcall;
Begin
Result := copy(S,40,2);
end;
Function LenOfCallSec (S: String): String; stdcall;
Begin
Result := copy(S,43,2);
end;
--------------------------------------------------