本文介绍了SAS:增强的编辑器。配色方案共享的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在SAS 9.2中具有用于增强编辑器的配色方案。

I have a color scheme for enhanced editor in SAS 9.2.

我如何与他人共享此计划?

How can i share this scheme with others?

在哪里找到计划的文件?

Where does file of scheme be found?

谢谢!

推荐答案

编辑器配色方案存储在SAS注册表中。
您可以导出和导入注册表项以共享方案定义。

The editor coloring scheme is stored in SAS registries.You can export and import registry entries to share the scheme definitions.

注册表中有SASHELP和SASUSER(用户定义)部分。我没有尝试过,所以我只是在猜测-根据您是修改原始配色方案还是定义自己的配色方案,它存储在SASHELP或SASUSER部分中。为此,您可能需要使用或不使用 PROC REGISTRY USESASHELP 选项来导出定义。
这是您的操作方式。

There is a SASHELP and SASUSER (user defined) part of registry. I didn't try it, so I'm just guessing - based on whether you modified original color scheme or defined your own, it's stored in either SASHELP or SASUSER part. For that, you may need to use or not use USESASHELP option of PROC REGISTRY to export the definition.Here's how you do it.

proc registry export="C:\eeditor_scheme.sasxreg"
               startat="CORE\EDITOR\SCHEMES" usesashelp;
run;

proc registry import="C:\eeditor_scheme.sasxreg";
run;

无论如何,修改注册表是对系统的低级干预,因此我建议您进行在导入注册表文件之前,对注册表进行完整备份:

Anyway, modifing the registry is a low-level intervention to the system, so I recommend you make a full backup of your registry before importing a registry file:

proc registry usesashelp export="C:\reg_backup_sashelp.sasxreg";
run;
proc registry export="C:\reg_backup_sasuser.sasxreg";
run;

这篇关于SAS:增强的编辑器。配色方案共享的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-23 02:00