# Adding a value to a program

You can assign a value (literal) without creating a variable.

1. Start editing the real-time application.
2. In the menu bar, click Program.
3. On the worksheet, click Add.
4. A dialogue box is opened.
5. Select the Values tab.
6. In the Data type drop-down list, select the data type.
7. In the Value text field, enter the desired value.
8. If the value is out of the data type range, an error message is displayed.
9. Click OK.
10. The value is added to the worksheet.
11. Drag-and-drop the value to the desired position in the worksheet.