DataLab is a compact statistics package aiming at exploratory data analysis. Please visit the DataLab Web site for more information.... |
Home Programming DataLab Python Meta Tags | ||||||||||||||||||||||||||||||||||
See also: Python Script Editor
|
||||||||||||||||||||||||||||||||||
Python - Meta TagsDataLab supports the definition of meta tags which contain additional information about the particular script. Syntactically the meta tags have to be included as a comment within the first 25 lines of a script (the number of lines which are analysed for meta tags can be adjusted in the preferences dialog). Each tag starts with two hash-tags (#) immediately followed by the tag identifier. Only one tag per line is allowed.
Here is an excerpt of a DLabPascal script showing the definition of four meta information tags. The script is assigned to a button using the icon "scrbtn_1.bmp":
program SampleScript1; (************************************************************************* ##AUTHOR John Doe ##DATETIME 2022-02-18 10:10:26 ##VERSION 1.00 ##CAPTION opens a data file and performs a few transformations ##MINDLABVERSION 4.202 ##READONLY FALSE ##INSTALLBTN 1 scrbtn_1.bmp just a sample script *************************************************************************) .... ....
Shortcut ButtonsThe shortcut buttons use icons which can be configured by the user. A button icon has to have a resolution of 42 by 21 pixels. The left part (first 21 pixels on the x-axis) contains the icon used when the button is enabled, the right part is used to display the disabled state:DataLab provides default icons for the first 9 shortcut buttons (named scrbtn_1.bmp to scrbtn_9.bmp). You can create your own shortcut icons either by editing the existing ones or by creating new ones.
|