Ubercode
The topic of this article may not meet Wikipedia's general notability guideline. (September 2024) |
Ubercode is a high-level programming language designed by Ubercode Software and released in 2005 for Microsoft Windows. Ubercode is influenced by Eiffel and BASIC. It is proprietary software and can be tried out for free for 30 days. Ubercode 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 arbitrary 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
- Official website

- http://isbndb.com/d/book/design_of_very_high_level_computer_languages.html (VHLL principles)
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.