Integer sequence: Difference between revisions

m (Fix lang example (Begins at 1 now instead of at 0))
Line 2,314:
end
</syntaxhighlight>
 
=={{header|RPL}}==
{| class="wikitable"
! RPL code
! Comment
|-
|
64 STWS
#1 '''DO'''
DUP 1 DISP
1 +
'''UNTIL''' #0 == '''END''' CLLCD
≫ ''''COUNT'''' STO
|
'''COUNT''' ''( -- )''
set integer size to 64 bits
Loop
display counter at top of screen
increment
Exit when 2^64-1 has been displayed
|}
 
=={{header|Ruby}}==
1,150

edits