SOlved!
Hi all
i have build many scripts that contain hs.getinisetting
but here is a problem with reading it .
it needs to read the array from an ini file
in the ini file it looks like this
this is in the very beginning ,
Const INI_FILE As String = "PIR_TEST.ini"
dim devices as string = hs.GetINISetting("xml","Devices","", INI_FILE)
dim array_pir() as string = devices
THis gives this error :
it looks like he doesnt accept devices as an array string , how can i solve it ?
Regards
Hi all
i have build many scripts that contain hs.getinisetting
but here is a problem with reading it .
it needs to read the array from an ini file
in the ini file it looks like this
PHP Code:
[XML]
Devices={"2212"}
this is in the very beginning ,
Const INI_FILE As String = "PIR_TEST.ini"
dim devices as string = hs.GetINISetting("xml","Devices","", INI_FILE)
dim array_pir() as string = devices
THis gives this error :
PHP Code:
Value of type 'String' cannot be converted to '1-dimensional array of String'.
it looks like he doesnt accept devices as an array string , how can i solve it ?
Regards
Comment