GetFarText(resourceNum textId buffer)¶
Reads a string from a text resource and copies it to buffer. It loads text resource resourceNum, and accesses the textId numbered string. It returns a pointer to buffer.
- resourceNum (number) – A text resource number.
- textId (number) – An id into the text resource.
- buffer (string) – The buffer that receives the string.
A pointer to buffer.