Log In  

After searching and testing for a solid hour, I still can't seem to figure this out. If anyone can clarify or point me to the correct docs, that would be great. Thanks in advance.

print(1) --1
print('hi',10,10) --hi ...at position (10,10)
print(1,10,10) --0x0001.0000 ...at position (0,0) <-- why?

Is that third scenario supposed to print in hex?

On the Wiki's print() page, this supposedly works as expected:

-- print the player x position just inside the upper left corner, in red
print(player.x,2,2,8)

So is this a bug, or am I missing something?

P#79934 2020-07-26 02:11 ( Edited 2020-07-26 02:13)

1

There is a bug in version 0.2.1 that gets fixed in 0.2.1b https://www.lexaloffle.com/bbs/?tid=38667

P#79960 2020-07-26 18:13
1

Oh, wow. How’d I manage to miss both that thread and the update?

Thanks, @slainte .

P#79963 2020-07-26 20:21 ( Edited 2020-07-26 21:01)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-28 21:10:59 | 0.015s | Q:11