Vim    up http://www.vim.org
 
  Description: Vim is a Vi-like programmable text-editor.


 Hello World   Michael Neumann
:"Hello World in Vim
:echo "Hello World"  
Prints "Hello World" onto the screen.


 Squares   Michael Neumann
:func Squares(from, to)
:  let n = a:from 
:  let r = ""
:
:  while n <= a:to
:    let r = r . (n*n) . " "
:    let n = n + 1
:  endwhile
:
:  return r
:endfunc

:"Nun die Funktion aufrufen
:echo Squares(1, 10)
Outputs the squares from 1 to 10.