Riferimento API di nanos world Documentazione italiana non ufficiale
Documentazione ufficiale
Funzione Condiviso Nativa

string.byte

Returns the internal numeric codes of the characters <code>s[start_pos], s[start_pos + 1], ..., s[end_pos]</code>

Non ancora tradotto

Sintassi

Lua
string.byte(start_pos = 1, end_pos = start_pos)

Parametri

Nome Tipo Predefinito Descrizione
start_pos facoltativo integer 1 The first character of the string to get the byte of
end_pos facoltativo integer start_pos The last character of the string to get the byte of

Valore restituito

  • integer... the internal numeric code