You could try loading the ini file has a hash table (/hload -i) read the items then close the hash table. You can still preserve the /writeini functionality by not use hash tables to add items. Meaning close the hash table after you've read from it. you always have to reload the hash table in order to refresh it before you read the control coded lines.

maybe try a /flushini to be safe. So that all the /writeini commands will be written to the file and not buffered.

alias -l getvalue.file.ini {
/hclose getvalue.ii
hmake getvalue.ii
/hload -im getvalue.ii file.ini
hclose getvalue.ii
return $hget(getvalue.ii,$1)
}

Last edited by topscriptz; 09/10/03 11:00 PM.