Christmas Challenge 2023
************************

Author: BeebMaster (www.BeebMaster.co.uk)

System: BBC Micro & Master 128

Language: BBC BASIC (BASIC 4r32 used)

Length of code: 67 bytes tokenised BBC BASIC, 97 bytes text

How to run: Done on real hardware, but this link will run it in an emulator:

https://bbcmic.ro/#%7B%22v%22%3A1%2C%22program%22%3A%2210FORC%3D3TO15STEP6%3AFORA%3D9TO21STEP6%3AFORB%3D-3TO3%3APRINTTAB%28A%2BABSB%2CC%2BB%29%5C%22*%5C%22TAB%28A%2B6-ABSB%2CC-B%29%5C%22*%5C%22%3ANEXT%2C%2C%5Cn%22%7D

Description: uses 3 nested loops to plot the diamond shape 9 times on the screen.  By using a starting negative value in the inner loop, and the BASIC ABS function, it is possible to plot the diamond within this loop increasing in width to the middle for the first half of the diamond and then decreasing back to the narrowest point for the second half of the diamond.  These loops in fact plot 2 points for each row of each diamond but the loops are arranged so that the top and bottom line of each diamond, which consist of a single character, are plotted twice in the same position.  

24/xii/2023
