⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tostring.dlg

📁 是一个经济学管理应用软件 很难找的 但是经济学学生又必须用到
💻 DLG
字号:
/*
  tostring

*!  VERSION 1.1.0  18nov2004

*/

VERSION 9.0

INCLUDE _std_large
INCLUDE _ht320
INCLUDE header
HELP hlp1, view("help destring")
RESET res1

DIALOG main, label("tostring - Convert numeric variables to string")	///
	 tabtitle("Main")
BEGIN
  TEXT     tx_var      _lft        _top      _iwd        .,		///
	label("Numeric variables to convert:")
  VARLIST  vl_var      @           _ss       _iwd        .,		///
	label("Numeric variables to convert")

  GROUPBOX gb_action   @           _ls       @           _ht7,
  RADIO    rb_gener    _indent     _ss       _inwd       .,		///
	label("Create new string variables named:")			///
	onclickon(main.ed_gener.enable)					///
	first
  RADIO    rb_repl     @           +50       @           .,		///
	onclickon(main.ed_gener.disable)				///
	option(replace) last nomemory					///
	label("Convert specified variables to string (original numeric variables will be lost)")
  EDIT     ed_gener    _indent2    -30       _inwd       .,		///
	label("Names of new string variables") 				///
	option(generate)

  GROUPBOX gb_opt      _lft        _xxxxls   _iwd        _ht10h, 	///
	label("Options")
  CHECKBOX ck_force    _ilft       _ms       _ibwd       .,		///
	label("Force conversion ignoring information loss")		///
	option(force)

  CHECKBOX ck_format   @           _ms       @           .,		///
 	label("Convert using specified format")				///
	onclickon(script format_on)					///
	onclickoff(script format_off)
  EDIT     ed_format   _indent2    _ms       _vnwd       .,		///
	label("Specific format")					///
	option(format)

  CHECKBOX ck_dispfmt  _ilft	   _ls	     _ibwd       .,		///
	label("Convert using display format")				///
	option(usedisplayformat)  					///
 	onclickon(main.ck_format.disable)				///
 	onclickoff(main.ck_format.enable)
END

SCRIPT format_on
BEGIN
	main.ed_format.enable
	main.ck_dispfmt.disable
END

SCRIPT format_off
BEGIN
	main.ed_format.disable
	main.ck_dispfmt.enable
END

PROGRAM command
BEGIN
	put "tostring "
	varlist main.vl_var
	beginoptions
		if main.rb_gener {
			require main.ed_gener
			optionarg main.ed_gener
		}
		option main.rb_repl
		option main.ck_force
		if main.ck_format {
			require main.ed_format
			optionarg main.ed_format
		}
		option main.ck_dispfmt
	endoptions
END

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -