Operator '//' seems to be missing #108

Closed
opened 2022-10-10 08:06:39 +00:00 by rabbitfr · 2 comments
rabbitfr commented 2022-10-10 08:06:39 +00:00 (Migrated from github.com)

Hi,

Evaluating expression like :

return x==width//2

won't work, because operator called floor division and denoted by // seems to be missing and was introduced in Lua 5.3

Best regards

Hi, Evaluating expression like : `return x==width//2` won't work, because operator called floor division and denoted by // seems to be missing and was introduced in Lua 5.3 Best regards
DragShot commented 2022-10-26 20:35:15 +00:00 (Migrated from github.com)

This version of the library implements Lua 5.2, so that makes sense.

Perhaps a future release will include 5.3 features.

This version of the library implements Lua 5.2, so that makes sense. Perhaps a future release will include 5.3 features.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: open-autonomous-connection/luaj#108