vectorA:tostring
From ComputerCraft Wiki
| Returns a string representation of the vector in the form of "x,y,z". | |
| Syntax | vector:tostring() |
| Returns | string |
| Part of | ComputerCraft |
| API | vector |
Examples
| Prints the string representation of the vector. | |
| Code |
local a = vector.new(1, 2, 3) local c = a:tostring() print(c) --1,2,3 |