+2 ⎕NQ '.' 'GetEnvironment' '?'

Learning APL or new to Dyalog? Ask "silly" questions here, without fear...

+2 ⎕NQ '.' 'GetEnvironment' '?'

Postby Kristoffer|Dyalog on Thu Mar 03, 2011 1:25 pm

I know these:

+2 ⎕NQ '.' 'GetEnvironment' 'Dyalog'
+2 ⎕NQ '.' 'GetEnvironment' 'session_file'

How do I find out which colorscheme has been chosen by the user?
Where can I find out what information I can get from +2 ⎕NQ '.' 'GetEnvironment' '?' -Is there a List?

Thanks in advance,
Kristoffer
Kristoffer|Dyalog
 

Re: +2 ⎕NQ '.' 'GetEnvironment' '?'

Postby Vince|Dyalog on Fri Mar 04, 2011 11:26 am

Hi Kristoffer,

There is a list of Dyalog environment parameters in Chapter 1 of the User Guide. On MS Windows, you can set these parameters in the command line, environment, or the Windows Registry.

You could get the name of the current colour scheme for the editor with:
+2 ⎕nq '.' 'getenvironment' 'Colours\SchemeName'
Glade

In this example, our GetEnvironment method looks in the Windows Registry key "HKEY_CURRENT_USER\Software\Dyalog\Dyalog APL/W 12.1 Unicode\Colours" for the string value SchemeName.

Regards,

Vince
Vince|Dyalog
 
Posts: 348
Joined: Wed Oct 01, 2008 9:39 am

Re: +2 ⎕NQ '.' 'GetEnvironment' '?'

Postby Kristoffer|Dyalog on Sat Mar 05, 2011 5:52 pm

Thanks Vince :)
Kristoffer|Dyalog
 


Return to New to Dyalog?

Who is online

Users browsing this forum: No registered users and 1 guest