diff --git a/chr.md b/chr.md new file mode 100644 index 0000000..2e1965a --- /dev/null +++ b/chr.md @@ -0,0 +1,27 @@ +# chr(num) +Ens torna el caracter amb el codi ascii `num`. + +### Paràmetres + +`num` +El codi ascii del que volem obtindre el caracter. + +### Exemple +``` +function init() + cls() + print(tostr(0),0,0) + print(tostr(8.4),0,1) + print(tostr(-65),0,2) + print(tostr(0xff),0,3) + + print(0,0,5) + print(8.4,0,6) + print(-65,0,7) + print(0xff,0,8) +end +``` +### Vore també +* [tostr(num)](tostr) +* [ascii(str, index)](ascii) +* [strlen(str)](strlen)