; copy variable from gaplst #include #include #include #include #include ;~ global $search_string global $member_name global $line_reqd local $var local $i $member_name=inputbox("Enter member details","Member name") $source=@scriptdir&"\gaplst." ;msgbox(0,0,$source) local $array=stringsplit($member_name,"-") $search_string=$member_name&" "&$array[1] ;$var=IniReadSection($source,$search_string) $var=inireadsection(@scriptdir&"\gaplst.",$member_name) if @error Then msgbox(0,0,"error occured") Else For $i = 1 to $var[0][0] msgbox(0," ","key :"&$var[$i][0]& @crlf & " value = " &$var[$i][1]) Next EndIf