Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

lua string unpack and string pack
Started by luantiang Nov 14 2018 01:55 AM

- - - - -
2 replies to this topic
lua unpack pack

Best Answer davebollinger , 14 November 2018 - 04:26 AM

short answer:  no, corona uses 5.1 not 5.3

so, need something.. perhaps this, or this or this, or more

[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

luantiang

[GLOBAL: userInfoPane.html]
luantiang
  • Enthusiast

  • 35 posts
  • Corona SDK

Hello all,

 

Is there "string.unpack" and "string.pack" in Corona, as in the Lua 5.3 language reference manual?

 

https://www.lua.org/manual/5.3/manual.html#pdf-string.unpack

https://www.lua.org/manual/5.3/manual.html#pdf-string.pack

 

I cannot seem to find them in Corona Documentation, https://docs.coronalabs.com/api/index.html

 

If there is not, how to do the equivalent in Corona?

 

Thanks!

Regards, Luan

 



[TOPIC: post.html]
#2

davebollinger

[GLOBAL: userInfoPane.html]
davebollinger
  • Corona Geek

  • 1,337 posts
  • Enterprise

  Best Answer

short answer:  no, corona uses 5.1 not 5.3

so, need something.. perhaps this, or this or this, or more



[TOPIC: post.html]
#3

luantiang

[GLOBAL: userInfoPane.html]
luantiang
  • Enthusiast

  • 35 posts
  • Corona SDK

short answer:  no, corona uses 5.1 not 5.3

so, need something.. perhaps this, or this or this, or more

 

Hello Dave,

 

Many thanks for your prompt response! I will explore the above as shared by you.

 

Thanks!

Regards, Luan




[topic_controls]
[/topic_controls]