# Read variables set by assignment

**URL:** https://forum.universal-robots.com/t/read-variables-set-by-assignment/1603
**Category:** Java
**Created:** [February 7, 2018, 2:43pm UTC](https://forum.universal-robots.com/t/read-variables-set-by-assignment/1603 "2018-02-07T14:43:36Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![anon91082083](https://avatars.discourse-cdn.com/v4/letter/a/2bfe46/32.png) [@anon91082083](https://forum.universal-robots.com/u/anon91082083)
#### Post date: [February 8, 2018, 4:40am UTC](https://forum.universal-robots.com/t/read-variables-set-by-assignment/1603/2 "2018-02-08T04:40:36Z")

</div>

I have also struggled with this same issue (reading urscript variables via Java). Right now I am looking into setting the value to a general purpose register with urscript and attempting to read it…somehow…? not really sure. I just created a similar post here: [Get variable/register value from Java](http://forum.universal-robots.com/t/get-variable-register-value-from-java/1604)

---

_[View the full topic](https://forum.universal-robots.com/t/read-variables-set-by-assignment/1603)._
