*TextEditor()

Creates an instance of a TextEditor from the given TextEditor definition.

Syntax

*TextEditor(TextEditor_name, TextEditor_label, TextEditor_def, [arg_1, arg_2,…,arg_n])

Application

TextView

Inputs

TextEditor_name
The variable name of the curve.
"TextEditor_label"
The descriptive label of the curve.
TextEditor_def
The TextEditor definition to be used.
[arg_1, arg_2,…,arg_n]) (Optional)
User-defined arguments.

Example

*DefineReport(repdef_sdf_test, dat_file)
	*ReportLabel("SDF Test Summary")
	*Parameter(dat_file, "Wheel datafile name",
                 filename, "*.dat")
	*Parameter(scale_factor, "Scale factor", integer)
	*Page(page_text_sum, "SDF Text Summary",
            pagedef_text_sum, dat_file)
*EndDefine()

*DefinePage(pagedef_text_sum, dat_file)
	*Layout(1)
	*TextEditor(text_sum, "Table", txtdef_text_sum,
                  dat_file)
*EndDefine()

*DefineTextEditor(txtdef_text_sum, dat_file)
	*FileName("sdf_sum.tpl") 
	*SetString(temp_var1, dat_file)
	*SetReal(temp_var2, scale_factor)
*EndDefine()

Context

*DefinePage()