langs a-z
This commit is contained in:
parent
db842d013d
commit
d066446780
11389 changed files with 98361 additions and 1020 deletions
|
|
@ -0,0 +1 @@
|
|||
itoa(atoi(10)+1, 10)
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
EOL
|
||||
do {
|
||||
if (At_BOL) {
|
||||
Ins_Char('1') // add new digit
|
||||
Break
|
||||
}
|
||||
Char(-1)
|
||||
#1 = Cur_Char+1 // digit
|
||||
#2 = 0 // carry bit
|
||||
if (#1 > '9') {
|
||||
#1 = '0'
|
||||
#2 = 1
|
||||
}
|
||||
Ins_Char(#1, OVERWRITE)
|
||||
Char(-1)
|
||||
} while (#2) // repeat until no carry
|
||||
Loading…
Add table
Add a link
Reference in a new issue