Wednesday, June 19, 2024 at 3:29 PM
I just made a small program that prints a pyramid. Try it here : http://www.philippe97.ca/phil2bf/
char count set count 20 print + char dashes copy dashes count while dashes dec dashes print -- end print +\n char stars zero stars char spaces copy spaces count char loop copy loop count while loop dec loop inc stars dec spaces print | char newspaces copy newspaces spaces while newspaces dec newspaces print \ # end char newstars copy newstars stars while newstars dec newstars print ** end char newspaces copy newspaces spaces while newspaces dec newspaces print \ # end print |\n end print + char dashes copy dashes count while dashes dec dashes print -- end print +\n