> For the complete documentation index, see [llms.txt](https://hyundai-robotics.gitbook.io/hi6-robot-language/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hyundai-robotics.gitbook.io/hi6-robot-language/rl-english/basic-syntax/statement-type/assignment.md).

# 2.3.2 Assignment Statements

An assignment statement consists of the left side, the assignment operator (=), and the right side. The left side (lvalue) must be a variable that can store a value. No constants or expressions are allowed.&#x20;

On the other hand, constants, variables, and expressions are allowed on the right side (rvalue).

```python
height=(500+margin)/2
```
