Snowflake
Author: maba
Category: Christmas Challenge
System: C128
Language: BASIC V7
Len source code: 224
Len exe file: 224
Len code only: 222
Instructions:
Install vice, drag and drop the prg file into it or use original C128 hardware
Description:
The program uses a simple print routine from (line 2) that is controlled via a control string.
The print routine reads, starting from the 10th position, the number of spaces to be printed through a loop and prints them.
Afterwards, a star is always printed, and the next number of spaces is retrieved from the control string.
If an "E" is read from the control string, a carriage return (CR) is executed.
The first 9 characters are used to generate a string with the corresponding length of spaces from the read number.
Comments:
Thanks to Logiker for organizing this challenge every year !