Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
pavel_lishin
on Aug 27, 2015
|
parent
|
context
|
favorite
| on:
Chip
Can someone help me understand what the rel() function does?
unoti
on Aug 27, 2015
|
next
[–]
It returns the value of a neighbor given an index, and an x and y delta value. So rel(20, -1, 0) would return the neighbor to the left (x=-1, y=0) of the 20th cell.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: