Created
September 2, 2016 04:39
-
-
Save SibTiger/f2c4bf12727181ee0adf3a78e998a837 to your computer and use it in GitHub Desktop.
Flood Terminal with 0's and 1's as quickly as possible in an endless loop
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ECHO OFF | |
GOTO :Main | |
:Main | |
CALL :RandomizedBinary | |
ECHO|SET /P=%ERRORLEVEL% | |
GOTO :Main | |
:RandomizedBinary | |
REM Fetch a random 0 or 1 | |
SET /A RandNum=%RANDOM% %% 2 | |
EXIT /B %RandNum% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment