qpad changing context doesn't work

Hi all - 

(newbie alert!)

Am using QPad to connect to a server, and would like to work on my own context.

However \d doesn’t seem to work:

\d .tahsin

\d

still produces `. as my current context.

I can create variables in the .tahsin context, and access them, as expected. The only thing I can’t seem to do is change the default context to it.

This may be a QPad specific issue … 

Thanks in advance

Hi,

Try
system “d .tahsin”

It should work.

The change in context only applies within the same query from remote connections.

There is another quirk to watch out for, that functions defined this way, are not actually defined within the namespace (this is different behaviour than? if you loaded the script using \l.

Hi, Tahsin!

It (switching default workspace) is one of the things that won’t work through IPC, whatever client you’ll use. Will only work in the script file being loaded locally on an instance.

As a side note,I’d refrain from setting default workspace for a number of reasons (most of which being general humanity for the readers of you’re code). ;)

Cheers,
Oleg

Thanks - seems like this is not something I can do through QPad.