List of variables: lname indets

### 5.59.2 List of variables: lname indets

The lname command finds the symbolic variable names used in an expression.
indets is a synonym for lname.

- lname takes one argument:
  expr, an expression.
- lname(expr) returns the list of the symbolic variable names used in expr.

#### Examples

- Input:
  lname(x*y*sin(x))
  Output:

  ⎡ ⎣ | x,y | ⎤ ⎦

- Input:

  a:=2;assume(b>0);assume(c=3);
  lname(a*x^2+b*x+c)

  Output:

  ⎡ ⎣ | x,b,c | ⎤ ⎦