Hexadecimal and stream element arrays I have some data coming in from a serial port which I want to convert to hexadecimal and display on the screen. I was wondering if anyone knows of a simple way to do this? ... 23 Apr 2010 20:41
Hexadecimal and stream element arrays tonyg <tonythegair(a)googlemail.com> writes: I have some data coming in from a serial port which I want to convert to hexadecimal and display on the screen. I was wondering if anyone knows of a simple way to do this? Just to chime in with my generic solution to this (from SAL http://www.stephe-leake.org/ad... 20 Apr 2010 15:43
confusion with string initialization I'm trying to learn Ada 2005 with GNAT ( Linux) and are having problems with string initialization using the bs := 20 * " "; construct, which always gives an error "universal integer expected" As my syntax is similar to that in Ada 2005 book by Barnes (page 594 & 596) I'm a bit confused :-) Searching ... 28 Apr 2010 21:57
type String_Type array(Integer range <>) of Character; I am looking for some sound Ada ('05) advice on a design issue, concerning strings. In my basic interpreter, I permit the end user to choose the array subscript ranges just like in Ada. But this includes strings, whereas in Ada one generally just uses the String type, with its positive subscript values.... 20 Apr 2010 15:43
ANN: Interval Arithmetic for Ada v1.8 The software provides an implementation of integer, float and dimensioned intervals. http://www.dmitry-kazakov.de/ada/intervals.htm In this version rounding behavior was changed in the case when a boundary is exact zero. It is left as is, even if the machine rounds. Because rounding cannot change the sign. ... 16 Apr 2010 07:14
A new notion: stronglly-typed-by-user language While preparing the upcomming "Using Object Oriented Technologies in Secure Systems" tutorial for Ada-Europe (plug, plug...), I came across this beautiful statement (OOTiA, B.1.1.6): "C++ is a strongly typed language, if conversions between logically unrelated types are avoided". Ain't that cute? -- -------... 20 Apr 2010 15:43
AdaControl 1.12r3 released Adalog is pleased to announce a new release of AdaControl. This release includes various improvements, bug fixes, etc. and raises the number of possible checks to 388. As usual, it is available in source (GMGPL) and executable for Gnat-GPL2009 forms from http://www.adalog.fr/adacontrol2.htm Enjoy! -- ----... 17 Apr 2010 11:52
ANN: Units of measurement for Ada v3.0 The library provides tools for handling dimensioned values in Ada. Checks are run-time when not removed by the compiler. String I/O and GTK+ widgets based on GtkAda included. http://www.dmitry-kazakov.de/ada/units.htm Changes to the version 2.9: 1. Output of exact zero values uses power 1 with any small. E.g... 12 Apr 2010 08:04
How to exit a loop with keyboard input [Sorry for the cross-post.] I have a loop which is doing a repetitive calculation. Sometimes the loop runs a long time and I want to manually cause the loop to be exited but have the program continue running, for example to save some results to a file or do other calculations. Preferably I would just hit a key o... 16 Apr 2010 10:33
Announce: Matreshka 0.0.3 New version of Matreshka was released. Previous version can't be used on 32-bit platforms, this one fixes this. Also, new version includes: - automatic configuration facility; it detects host architecture and compiler's capabilities to select most suitable of supported configurations; - upgrade of Unicode Char... 11 Apr 2010 16:47 |