Previous topic

New UniScript functions in UniPlot

Next topic

New UniScript functions in UniPlot 4.x

This Page

Changed UniScript functionsΒΆ

  Modified Functions in UniPlot R2011.5 (5.30.5)
ExcelGetSheetNames ExcelGetSheetNames returns the sheet names of an Excel 5.0 file or higher.
  Modified Functions in UniPlot R2011 (5.30)
ConvertToVariant Is replaced by vconvert.
DocAddPage DocAddPage adds new pages to the document.
DocInsertPage DocInsertPage inserts new pages to the document.
DocSelectPage DocSelectPage activates the given page and returns the handle.
VariantConvert Is replaced by vcast.
VariantGetType Is replaced by vtype.
XYZSetProps XYZSetProps sets the dataset properties of a 3D dataset.
clear clear removes a variable or a function from memory.
loadiclib loadiclib loads a UniScript library which contains UniScript functions in binary form.
saveiclib saveiclib saves all loaded UniScript functions in an UniScript Library file.
  Modified Functions in UniPlot R2010 (5.20)
AppHelp AppHelp opens the UniPlot help system.
EdCreate EdCreate creates a new editor.
RegOpen Opens a registry key.
RegisterFunction RegisterFunction registers a function from a dynamic link library (DLL) to the UniScript symbol table. After a function is registered, the function can be called directly by UniScript.
UniScript.Load Loads a UniScript file.
XYAddData The XYAddData function adds data to an existing dataset.
XYGetData XYGetData returns all data points or a clipping of data points.
XYReload XYReload loads data.
XYSetData XYSetData sets the xy-coordinates of a dataset.
XYZCreate XYZCreate creates a new 3D dataset. The 3D dataset can be created from scattered XYZ triples or from a rectangular grid (matrix).
loadiclib loadiclib loads a UniScript library which contains UniScript functions in binary form.
saveiclib saveiclib saves all loaded UniScript functions in an UniScript Library file.
  Modified Functions in UniPlot 5.14.7
AppGetGlobalOption AppGetGlobalOption returns a value of an option from Tools=>More Options.
AppSetBatchMode AppSetBatchMode sets the batch mode flag. If batch mode is enabled the display of dialog and message boxes are suppressed.
AppSetGlobalOption AppSetGlobalOption sets a value of an option from Tools=>More Options.
NC_ExportData NC_ExportData converts netCDF data files (.nc) into another data format.
obj_lookup obj_lookup returns the value of a given key.
  Modified Functions in UniPlot 5.14.5
nc_get_option nc_get_option gets an option.
nc_makevalidname nc_makevalidname returns a valid netCDF variable name for a given name.
nc_set_option nc_set_option sets an option.
nc_varid nc_varid returns the ID of a netCDF variable when given its name.
nc_varinq_name The nc_varinq_name function returns the name of a netCDF variable when given its ID.
  Modified Functions in UniPlot 5.14.0
DeCompressFile DeCompressFile decompress a file that was compressed by CompressFile.
rand rand returns random numbers with uniform distribution.
regex regex checks if elements of a string vector matches a regular expression.
regsplit regsplit splits a string using regular expressions.
srand srand sets a start value for the random generator.
version version returns the version string or version number of UniPlot.
  Modified Functions in UniPlot 5.12.0
AppQuit AppQuit closes UniPlot.
  Modified Functions in UniPlot 5.11.1
@f{legend_table} Creates a legend table for the data files used in the page or document.
strextract strextract returns a substring of its argument string.
  Modified Functions in UniPlot 5.11.0
DocGetDataFileList DocGetDataFileList returns the list of used data files in the document or page.
DocSetDataFileList DocSetDataFileList saves the list of used data file names in the document.
Round Is replaced by fround.
RoundDown Is replaced by fround.
RoundUp Is replaced by fround.
XYZIsInterLinear Is replaced by XYZGetInterpolationType.
XYZSetInterLinear Is replaced by XYZSetInterpolationType.
  Modified Functions in UniPlot 5.10.2
matlab_load matlab_load loads a MATLAB file (mat file) into a UniScript object.
  Modified Functions in UniPlot 5.10.1
@f{labeldataset} The field functions labels a curve with its legend text, set with XYSetLegendText or the y-channelname.
GetProfileString GetProfileString retrieves a string from the specified section in an initialization file or the Windows registry.
WriteProfileString WriteProfileString writes a string into the specified section of an initialization file or the Windows registry database.
  Modified Functions in UniPlot 5.10.0
@f{legend} Creates a legend for 1D and 2D datasets.
DialogBox DialogBox creates a dialog box with static text, edit fields, list boxes, combo boxes, check boxes, a report list (list with multiple columns), a property list box, a group box, tree control and buttons.The dialog box can be configured to be resizeable (see Dialog control |F @ xxx_callback|).
EdCreate EdCreate creates a new editor.
ExcelRead3 ExcelRead3 reads MS-Excel files (.xls).
FileToField FileToField reads a text file (ASCII file and UNICODE file with BOM) where the elements are arranged in rows and columns. The elements can be text, numbers and blank fields.
IsFileIPW IsFileIPW checks if a file is a UniPlot file.
IsFileText IsFileText checks if a file is a text file (ASCII File).
RegisterFunction RegisterFunction registers a function from a dynamic link library (DLL) to the UniScript symbol table. After a function is registered, the function can be called directly by UniScript.
fgetline The fgetline function reads a string from the input file and stores it in a string.
obj_load obj_load loads an object saved with obj_save from the hard drive.
obj_save obj_save saves an object as an XML file on the hard drive or as a string.
version version returns the version string or version number of UniPlot.
  Modified Functions in UniPlot 5.9.3
ST_seti The ST_seti function takes an vector argument (A), sorts the data and removes duplicate elements. The function returns an index vector of the result.
finite finite checks if the argument is 0/0 or 1/0.
inf inf returns the result of 1/0.
isinf isinf checks if its argument is in the range -INF ... INF.
nan nan (Not a Number) returns the number 0/0.
  Modified Functions in UniPlot 5.9.2
PageInsertFromClipboard PageInsertFromClipboard pastes the clipboard contents into the given page.
  Modified Functions in UniPlot 5.9
PageInsertFromClipboard PageInsertFromClipboard pastes the clipboard contents into the given page.
TYSetData TYSetData sets the coordinates of a y/t datasets (1D-dataset).
XYSetData XYSetData sets the xy-coordinates of a dataset.
auto_GetData auto_GetData returns the data of the given channels as a matrix. The function can only be used to read numeric data channels.
fwrite fwrite writes data into a file.
mem_dump mem_dump prints a string as a memory block into the command window.
  Modified Functions in UniPlot 5.8.2
fread fread reads data from a file.
mem_get mem_get reads bytes from a string and converts the data.
  Changed Functions in UniPlot 5.7.0
AppKillTimer AppKillTimer will stop the timer, startet with AppNewTimer.
AppSetTimer Is replaced by AppNewTimer.
DocGetAllPages DocGetAllPages returns a vector of all page handles for the given document or page handle.
EBCreate EBCreate creates an elliptic drawing object
LBCreate LBCreate creates a line or arrow drawing object.
LayerCreate LayerCreate creates a new diagram.
MapLookup MapLookup uses a hashing algorithm to quickly find the map element with a key that exactly matches the given key.
RBCreate RBCreate creates a rectangular drawing object.
TBCreate TBCreate creates a new text object.
TableCreate TableCreate create a new table object.
regex regex checks if elements of a string vector matches a regular expression.
regsplit regsplit splits a string using regular expressions.
  Changed Functions in UniPlot 5.6.0
DialogBox DialogBox creates a dialog box with static text, edit fields, list boxes, combo boxes, check boxes, a report list (list with multiple columns), a property list box, a group box, tree control and buttons.The dialog box can be configured to be resizeable (see Dialog control |F @ xxx_callback|).
RegGetValue RegGetValue retrieves a value.
RegSetValue RegSetValue sets a value for the key name.
auto_LoadStyleFile auto_LoadStyleFile loads a style file. The style file contains descriptions which specify the style of a dataset. Some example files can be found in the the UniPlot Sample directory. They have the file name extension .sty .icb.
nc_attcopy nc_attcopy copies a given attribute into a different NC file.
nc_create nc_create creates a new netCDF file.
nc_inquire_format nc_inquire_format returns the file format for a given ncid.
nc_seterror_options nc_seterror_options sets the error options for the netCDF functions.
  Changed Functions in UniPlot 5.5.0
ReportControl_GetInit ReportControl_GetInit converts a string matrix into a scalar string which can be used to initialize the report control in a dialog box.
auto_xyz_CreateColorLegend auto_xyz_CreateColorLegend creates a color legend for the given 3D dataset.
  Changed Functions in UniPlot 5.4.2
nc_get_option nc_get_option gets an option.
  Changed Functions in UniPlot 5.4.0
DialogBox DialogBox creates a dialog box with static text, edit fields, list boxes, combo boxes, check boxes, a report list (list with multiple columns), a property list box, a group box, tree control and buttons.The dialog box can be configured to be resizeable (see Dialog control |F @ xxx_callback|).
auto_ReplaceTextDialog auto_ReplaceTextDialog can be used within an automation script to show a text dialog box.
  Changed Functions in UniPlot 5.3.4
XYZCreate XYZCreate creates a new 3D dataset. The 3D dataset can be created from scattered XYZ triples or from a rectangular grid (matrix).
  Changed Functions in UniPlot 5.3.2
ImageCreate ImageCreate creates a picture object.
ImageGetPixelColor ImageGetPixelColor returns the color value of a pixel as an RGB value.
ImageGetPixelGray ImageGetPixelGray returns the gray value of a pixel.
sort sort performs a quick sort from a real, complex or string matrix or vector.
  Changed Functions in UniPlot 5.3.0
GetListBoxText GetListBoxText splits the return value of a combo box or list box into a string vector. The value is returned from the DialogBox function.
ReportControl_GetInit ReportControl_GetInit converts a string matrix into a scalar string which can be used to initialize the report control in a dialog box.
ReportControl_GetMatrix ReportControl_GetMatrix converts the DialogBox return value for the report control into a matrix.
TYAddData TYAddData adds data to a y/t dataset (1D dataset).
TYCreate TYCreate creates a new y/t datasets (1D dataset).
TYSetData TYSetData sets the coordinates of a y/t datasets (1D-dataset).
TableMergeCells TableMergeCells specifies which neighbouring cells are merged.
XYAddData The XYAddData function adds data to an existing dataset.
XYCreate XYCreate creates a new 2D dataset.
XYSetData XYSetData sets the xy-coordinates of a dataset.
XYSetNewData Is replaced by XYSetData.
fseek fseek moves the file pointer to a new position.
system system creates a new process.
  Changed Functions in UniPlot 5.2.0
diary diary opens and closes a file in which all input and output of the command window will be written.
  Changed Functions in UniPlot 5.1.2
DocPrint DocPrint prints the pages from the document to the printer.
PagePrint PagePrint prints a page to the printer.
  Changed Functions in UniPlot 5.1.0
GetUserDirectory GetUserDirectory returns the UniPlot user directory.
  Changed Functions in UniPlot 5.0
GetTempFileName GetTempFileName creates a name for a temporary file.
IsFileText IsFileText checks if a file is a text file (ASCII File).
MapLoad MapLoad loads a map from a file, that was created with the MapSave function.
MapSave The MapSave function saves the data elements of a map in a file.
RegisterFunction RegisterFunction registers a function from a dynamic link library (DLL) to the UniScript symbol table. After a function is registered, the function can be called directly by UniScript.
XYZInsertLabel XYZInsertLabel lables isolines with their z-values.
base64_encode base64_encode encodes data into the base64 format
binary_decode Is replaced by base64_encode.
binary_encode Is replaced by base64_encode.
fgetline The fgetline function reads a string from the input file and stores it in a string.
fopen fopen opens a file.
fread fread reads data from a file.
loadiclib loadiclib loads a UniScript library which contains UniScript functions in binary form.
md5 md5 calculates the MD5 check sum using the algorithm http://www.faqs.org/rfcs/rfc1321.html, MD5 Message-Digest Algorithm (RFC 1321).
mem_alloc mem_alloc creates a scalar string of the given length.
mem_compress mem_compress compresses a string which may contain 0-characters.
mem_get mem_get reads bytes from a string and converts the data.
mem_len mem_len returns the length in bytes of a scalar string or a matrix of strings.
mem_set mem_set sets the bytes in a string to values of a specified data type.
mem_uncompress mem_uncompress uncompresses a string that was compressed with mem_compress.
obj_save obj_save saves an object as an XML file on the hard drive or as a string.
saveiclib saveiclib saves all loaded UniScript functions in an UniScript Library file.
sort sort performs a quick sort from a real, complex or string matrix or vector.
sorti sorti sorts a real, complex or string matrix or vector in ascending order and returns an index vector of the sorted matrix.
strCharToOem strCharToOem translates a string from the Windows character set into the OEM-defined character set.
strOemToChar strOemToChar translates a string from the OEM-defined character set into the Windows character set.
strchar strchar creates a string from a vector from numbers.
strcode strcode returns the code values (numbers) of the given string.
utf8_encode utf8_encode converts an ANSI string to an UTF8 string.

id-1427033