This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

perl pack equivalent in lua
#2
This should do the trick:
Code:
data = "00990102"
checksum = 49
chbyte = string.format("%02X", checksum)
command = lmcore.hextostr("07F0" .. data .. chbyte .. "070F", true)
Reply


Messages In This Thread
perl pack equivalent in lua - by baggins - 15.03.2021, 12:09
RE: perl pack equivalent in lua - by admin - 15.03.2021, 13:25
RE: perl pack equivalent in lua - by baggins - 15.03.2021, 14:21
RE: perl pack equivalent in lua - by baggins - 15.03.2021, 22:17

Forum Jump: