Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Java code to lua code
Started by HiCorona Dec 25 2018 12:00 AM

- - - - -
2 replies to this topic
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

HiCorona

[GLOBAL: userInfoPane.html]
HiCorona
  • Observer

  • 2 posts
  • Corona SDK

java
( 0110 & 0001 )
( 65 & 0xEE )
( byte >> 6 )
( byte << 2 )

lua ?

thanks

 



[TOPIC: post.html]
#2

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,147 posts
  • Corona SDK

Lua does not provide bitwise operators in version 5.1, which we use. There however is a plugin called "Bit" that will let you do these bitwise operations.

 

Rob



[TOPIC: post.html]
#3

HiCorona

[GLOBAL: userInfoPane.html]
HiCorona
  • Observer

  • 2 posts
  • Corona SDK

Thanks Rob




[topic_controls]
[/topic_controls]