lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


 

Lua 5.3.5  Copyright (C) 1994-2018 Lua.org, PUC-Rio

> print(string.unpack('z', 'ABC'))

ABC     5

> 

 

This is not a zero-terminated string, so I think lua should raise an error.

 

--actboy168