Convert string to int
Posted: 24 Aug 2011 01:00
Hi , I want to convert string to an interger in batch program, Please help.
Thanks,
Harish
Thanks,
Harish
Code: Select all
set /a "$var=1" :: string
set "$var=1" :: string
Code: Select all
procedure MyProcedure
var
MyVar1:integer;
MyVar2:string ;
begin
MyVar1 := 1 ;
MyVar2 := '1';
End;