[nim-dev] Re: passing references

  • From: "Parashurama" <dmarc-noreply-outsider@xxxxxxxxxxxxx> (Redacted sender "Rhagdamaziel" for DMARC)
  • To: nim-dev@xxxxxxxxxxxxx
  • Date: Mon, 5 Dec 2016 21:45:47 +0000

Hi. 
You are comparing the current location of the ref. (pointer to ref)

Try to this (dereferencing ref and get pointer to content)
```nim
  echo "IS IT THE SAME? ", (addr xobjref[]) == (addr result[])
```

Other related posts: