mIRC Home    About    Download    Register    News    Help

Print Thread
#21658 30/04/03 02:23 PM
Joined: Jan 2003
Posts: 148
K
Knappen Offline OP
Vogon poet
OP Offline
Vogon poet
K
Joined: Jan 2003
Posts: 148
Is there a way to read the whole section of an ini file wihtout spesifying all of n`s; like: $readini($mircini,rfiles,*) or something... or do i have to do $readini($mircini,rfiles,n0)
$readini($mircini,rfiles,n1) and so on....

#21659 30/04/03 02:44 PM
T
theRat
theRat
T
where would you read 'em all?
var %i = 1, %j = $ini(file.ini,section,0)
while ( %i <= %j ) {
set $+(%,var,%i) $readini(file.ini,section,$ini(file.ini,section,%i))
inc %i
}


Link Copied to Clipboard