Or it could be a class which restores default settings in its Destroy. This is how it's implemented in Mere Mortals framework.
>>thanks, I'll try to always set those I need.
>
>Hi Ken,
>
>One easy/practical way to handle this is to set your standard environment settings in one function that is part of you main function library.
>This way you can easily set your standard environment settings in one line of code.
>
>
>function set_env
>set deleted on
>set talk off
>set this ...
>set that ...
>.
>.
>.
>return
>
>
>define class mysession as session
>
> procedure init
> =set_env()
> this.open_tables()
>
> procedure open tables
> .
> .
>
>enddefine
>
>
>
>
>
>
>Rgds++
>Sergio
If it's not broken, fix it until it is.
My Blog