lineSelector()
Opens the line type selector and writes a line type selected there to a variable.
Synopsis
int lineSelector(string &linestr);
Parameters
Parameters | Meaning |
---|---|
linestr | Name of the selected line type |
Return value
In the event of an error, the function returns -1 otherwise, 0.
Error
General troubleshooting (incorrect arguments, incorrect name).
Description
Opens the line type selector and writes the name of a line type selected there to the string variable linestr. Valid content of the variable linestr is a line type string. However, empty strings do not lead to errors.
Example
main()
{
string line;
lineSelector(line);
DebugN(line);
}
Assignment
Simple configuration
Availability
UI