Description:
Discussion about Ada*.
|
|
|
Can run ADA programs only from windows cmd-line
|
| |
On my new Windows-7 computer I have installed GPS-GNAT 2009. Compilation and building of programs works fine, but running of programs is only possible on the Windows cmd-line. How can the programs be executed from the GPS-window? When GPS => Build => Run => <executablename> is done, at the lower right corner of the window the name of the executable is shown.... more »
|
|
Concatenate enumeration
|
| |
Hi, I have a enumerate type and I have another one which I want to add some enumerations. So: type Enumerate_Type is ( NONE, READY ); for Enumerate_Type use ( NONE => 0, READY=> 1 ); for Enumerate_Type'Size use 1; and I want to create a new type Enumerate2_Type which could be the... more »
|
|
Forcing use of "constructors"
|
| |
Hello, all. What's the preferred way to mandate that objects be created by the use of given "constructor" subprograms? By this, I mean that I want to create a type and the only way to get new values of this type is to use a subprogram that I provide. * It's a record type. * A few of the components must be set to "sensible" values before... more »
|
|
Saving Files in GPS Under Windows 7
|
| |
I'm running Windows 7 Ultimate. I installed the latest download from GNAT/GPS from [link]. After creating a file in GPS I try to save it, it just "blinks" but does not save the file. I have to create the file external to GPS and then it will overwrite it. Has anyone had any similar problems under Windows 7?... more »
|
|
Ann: Zip-Ada v.36
|
| |
Hello! Again a new version of the Zip-Ada library, @ [link] , is out. Latest changes: - BZip2 method added for decompression - Added Zip.Traverse_verbose - Added an UnZip.Extract to extract all files, using a Zip_Info variable (allows any stream, not only file, for archive) - Some more run-time library performance bottlenecks removed... more »
|
|
How do I debug/fix this
|
| |
I got my little program running in Windows, so I decided to try it in Linux (Ubantu) and this is the runtime error I get in linux: raised PROGRAM_ERROR : Process Prefix: s-valuti.adb:277 explicit raise. The error was captured by my error handler and rethrown so I could find where it happened. The original error is a CONSTRAINT_ERROR and... more »
|
|
What makes a procedure call 'dispatching' in Ada?
|
| |
Hello, I'm trying to fell may way around object oriented Ada programming, and I think I must be missing something absolutely basic. Please consider the following package: ---%<--- package FOOS is type FOO is abstract tagged null record; procedure P (THIS : in FOO); procedure A (THIS : in FOO) is abstract;... more »
|
|
|