Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
8
Task/Literals-Integer/Neko/literals-integer.neko
Normal file
8
Task/Literals-Integer/Neko/literals-integer.neko
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
/**
|
||||
Integer literals, in Neko
|
||||
Base 10 and Base 16, no leading zero octal in Neko
|
||||
*/
|
||||
|
||||
var num = 2730
|
||||
if (num == 02730) $print("base 10, even with leading zero\n")
|
||||
if (num == 0xAAA) $print("base 16, with leading 0x or 0X\n")
|
||||
Loading…
Add table
Add a link
Reference in a new issue