This application was written as a simple demonstration of string concatenation, and looping forwards and backwards through an array in GW-BASIC.
When run, this application will print a sequence of X characters to the screen starting from the top left and ending at the bottom right, before reversing direction. The program will loop infinitely until the user presses a character key. Each X is printed on its own line preceded by an increasing or decreasing amount of whitespace.
- BASIC interpreter compatible with GW-BASIC/BASICA dialects of BASIC (PC-BASIC is a cross-platform interpreter)
- Download
scrsvr.basfrom the/src/directory. - Move the downloaded file to another local directory of your choosing.
- Open your BASIC interpreter and using the
CHDIRcommand, change the current working directory to the local path ofscrsvr.bas. - Type
LOAD"scrsvr.basto load the code into the interpreter. - Type
LISTto confirm the code has loaded.
Once you have loaded scrsvr.bas into your BASIC interpreter, type RUN to run the screensaver program.
To end the program, press any character key. If unresponsive, press CONTROL + C to force the interpreter to stop.
