Ubercode is a high level programming language designed by Ubercode Software and released in 2005 for Microsoft Windows. Ubercode is influenced by the Eiffel and BASIC. It has the following design goals:
Here is the basic Hello world program:
Ubercode 1 class Hello public function main() code call Msgbox("Hello", "Hello World!") end function end class
Here is an example using pre- and postconditions. In the example, the IntToStr function validates its input as a string before converting it to an integer:
Ubercode 1 class PrePost function IntToStr(in mystr:string[*] out value:integer) precond IsDigitStr(mystr) code call Val(mystr, value) end function public function main() code call Msgbox("OOP example", "IntToStr(10) = " + IntToStr("10")) end function end class