Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- REM TESTED AND CORRECTED VERSION
- REM FOR MY CODE GOLF CHALLENGE HERE:
- REM http://codegolf.stackexchange.com/questions/110166/counting-in-binary-nybbles
- 0 DEF FN B(X)=SGN(X AND B)
- 1 FOR I=0 TO 10:B=8
- 2 FOR J=0 TO 3:PRINT RIGHT$(STR$(FN B(I)),1);:B=B/2:NEXT J
- 3 PRINT:NEXT I
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement