1 Star 0 Fork 7

夏汉林/nwcommands

forked from 连享会/nwcommands 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
nwcontext.dlg 1.44 KB
一键复制 编辑 原始数据 按行查看 历史
ThomasGrund 提交于 2015-09-18 19:13 . v1.5.1
VERSION 10.0
SYNCHRONOUS_ONLY
INCLUDE _std_medium
INCLUDE header
HELP hlp1, view("help nwcontext")
RESET res1
SCRIPT PREINIT
BEGIN
program initialize
END
DIALOG main, title("nwcontext - Create Context")
BEGIN
TEXT tx_net 50 40 140 ., label("Network:")
COMBOBOX cb_net 50 60 250 ., dropdownlist label("Network") contents(netlist) nomem
TEXT tx_var 50 80 200 ., label("Variable:")
VARNAME vr_var 50 100 140 ., nomem label("Variable") option(attribute)
TEXT tx_stat 50 120 140 ., label("Statistic:")
COMBOBOX cb_stat 50 140 140 ., contents(statistic) dropdownlist option(stat) nomem
TEXT tx_mode 210 120 140 ., label("Neighbor mode:")
COMBOBOX cb_mode 210 140 140 ., contents(mode) option(mode) dropdownlist nomem
TEXT tx_generate 50 170 140 ., label("New variable:")
EDIT ed_generate 50 190 140 ., default("_context") nomem option(generate)
END
LIST statistic
BEGIN
mean
max
min
sum
sd
meanego
maxego
minego
sumego
sdego
END
LIST mode
BEGIN
outgoing
incoming
both
END
LIST netlist
BEGIN
// intentionally empty
// this list will be populated by _nwdialog.ado
END
PROGRAM initialize
BEGIN
put "_nwdialog nwcontext"
stata hidden immediate
END
PROGRAM command
BEGIN
require main.vr_var
put "nwcontext " main.cb_net
beginoptions
optionarg main.vr_var
optionarg main.cb_stat
optionarg main.cb_mode
optionarg main.ed_generate
endoptions
stata
END
*! v1.5.0 __ 17 Sep 2015 __ 13:09:53
*! v1.5.1 __ 17 Sep 2015 __ 14:54:23
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/xiahanlin/nwcommands.git
git@gitee.com:xiahanlin/nwcommands.git
xiahanlin
nwcommands
nwcommands
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385