Baklava in Vimscript (original) (raw)
Sample Programs in Every Language
A Collection of Code Snippets in as Many Programming Languages as Possible
This project is maintained by TheRenegadeCoder
Published on 26 September 2024 (Updated: 26 September 2024)
Welcome to the Baklava in Vimscript page! Here, you'll find the source code for this program as well as a description of how the program works.
Current Solution
func! Baklava()
for l:i in range(-10, 10)
let l:numSpaces = abs(l:i)
echo repeat(' ', l:numSpaces) . repeat('*', 21 - 2 * l:numSpaces)
endfor
endfunc
func! Main()
call Baklava()
endfunc
Baklava in Vimscript was written by:
- rzuckerm
If you see anything you'd like to change or update, please consider contributing.
How to Implement the Solution
No 'How to Implement the Solution' section available. Please consider contributing.
How to Run the Solution
No 'How to Run the Solution' section available. Please consider contributing.