If you are already familiar with the UNIX version of vlab and cpfg and/or you are planning to exchange objects between the two platforms, you should read this section.
When transferring files between Windows and UNIX machines you should pay attention to the transfer mode. All text files (especially *.l, *.v, *.a, *.s, *.con, *.e, *.func) should be transferred in ASCII mode, due to CR/LF incompatibility between the two platforms. Binary files (*.map, *.mat, images) should be transferred in BINARY mode. Most FTP client programs support CR/LF conversion. Some tools (like WS FTP) let the user associate file types with transfer mode.
If you transfer objects with the object browser, the CR/LF conversions will be performed automatically.
If a file named LSspecifications is present in an object, it is read by L-studio when the object is loaded. It will additionally be reread if if is edited with the General text editor. LSspecifications can contain the following sections:
|Comment||A line is considered to be a comment if its first non-blank character is a semicolon ';'.|
|Ignore||An Ignore section starts with the line containing 'ignore:' and ends with a line containing a star '*'. Lines contained between these two are treated as file names. These files are not considered to be a part of the object, and are ignored when the object is saved or when it is compared with the original version to determine whether the it has changed. The Ignore section is useful if a model produces files when it is executed, and the files don't need to be saved as they can be easily reproduced.|
|cpfg||A line starting with the word cpfg is used as command executed when the Go! command is selected from the Cpfg menu.|
|Continuous mode||continuous mode: must be followed by on or off. It determines whether the continuous modeling mode should be turned on after the object has been loaded.|
|Active tab||active tab: must be followed by one of the following: lsystem, view, anim, colors, surface, contour, function, panels, description, anytext. It determines which L-studio tab is active when the object is loaded.|
|Auto run||auto run: must be followed by on or off. If it is on, cpfg will be started as soon as the object is loaded into L-studio.|
|Auto exit||Auto run's counterpart is auto exit. The label auto exit: must be followed by on or off. If it is on, L-studio will exit as soon as you close cpfg/lpfg.|
|Demo mode||demo mode: must be followed by on or off. If it is on, then the object is opened in "demo mode", which means that L-studio will not check if the object has been modified when the user closes the object, and will not prompt if the user wants to save changes.|
|Auto tear-off||panels auto tear off: must be followed by on or off. If it is on, all of the object's panels are torn off when it is loaded, just as if Tear off all... had been chosen from the panel gallery menu.|