>>Since you do not want to use the registry, then what using an ini file?
>
>
>thanx.
>
>Ya thats usefull in reading and writing individual values.
>
>This is something like a preference setting for a specific function.
>There might be multiple settings and when the user loads the specific setting the whole block of settings must get loaded. here i would have to pass individual parameters , any way to get the whole block loaded ?
>
>have you done it already or may i feel free to modify the code ??
You can actually use the xsomething array, find in it your section (which would be your block of settings) and read the settings in that section. Shouldn't be too hard to add to Tracy's code. The section names are wrapped in [sectionnamehere].