Google
 
   
Login
Username:

Password:


Lost Password?

Register now!
Search
Main Menu
top books
Polls
What do you think about php-deluxe.net?
Excellent!
Cool
Hmm..not bad
What the hell is this?
encyclopedia
recommendation
compare webbrowser
Freenet DSL
Who's Online
4 user(s) are online (3 user(s) are browsing encyclopedia)

Members: 0
Guests: 4

more...
browser tip
Unix Befehle
manual of unix befehle
recommendation!
Sponsored
partner

Ubercode

Ubercode is a high level programming languages. It has the following design goals:

# Compilable language - compiled into Windows EXE files. # Automatic memory management - memory is allocated / freed automatically, and the language has no memory management primitives. # Pre and post conditions - these are run-time assertions which are attached to function declarations, as in Eiffel. # High-level data types - resizable arrays, lists and tables may contain arbritary components. # Integrated file handling - primitives for transparent handling of text, binary, CSV, XML and dBase files. # Ease of use - language structure is relatively simple, making the language accessible to beginners.

=Hello World=

Here is the basic Hello world program:

Ubercode 1 class Hello

public function main() code call Msgbox( Hello , Hello World! ) end function

end class

=Preconditions and Postconditions=

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

=External links=

  • http://www.ubercode.com/ - Ubercode Software
  • [http://www.ubercode.com/downloads/lang-rep.pdf Language report] - PDF copy of Language Reference Manual
  • http://isbndb.com/d/book/design_of_very_high_level_computer_languages.html - VHLL principles