Anyways, I said before how Ada sort of mocks you when you get errors. A snippet of terminal output for your amusement. User and computer name may have been changed. Or not. It's up to you to figure out how engrained the Draconic74 persona is into my very being.
Code: Select all
Teh-Drac-Mac:Assignment 2 draconissoventefor$ gnatmake roman_io.adb
gcc -c roman_io.adb
roman_io.adb:38:17: "end if;" expected for "if" at line 30
roman_io.adb:40:17: declarations must come before "begin"
roman_io.adb:87:01: missing "end;" for "begin" at line 75
roman_io.adb:87:01: missing "end validate_character_set;"
roman_io.adb:87:01: missing "begin" for procedure "Get" at line 21
gnatmake: "roman_io.adb" compilation error
Code: Select all
Teh-Drac-Mac:Assignment 2 draconissoventefor$ gnatmake roman_io.adb
gcc -c roman_io.adb
roman_io.adb:38:31: missing ";"
roman_io.adb:39:17: "end validate_character_set;" expected
gnatmake: "roman_io.adb" compilation error
Code: Select all
Teh-Drac-Mac:Assignment 2 draconissoventefor$ gnatmake roman_io.adb
gcc -c roman_io.adb
roman_io.adb:39:17: "end validate_character_set;" expected
gnatmake: "roman_io.adb" compilation error
Code: Select all
Teh-Drac-Mac:Assignment 2 draconissoventefor$ gnatmake roman_io.adb
gcc -c roman_io.adb
roman_io.adb:21:24: warning: formal parameter "value" is not referenced
roman_io.adb:22:17: warning: variable "current_char" is never read and never assigned
roman_io.adb:22:31: warning: variable "next_char" is never read and never assigned
roman_io.adb:23:17: warning: variable "current_value" is never read and never assigned
roman_io.adb:23:32: warning: variable "next_value" is never read and never assigned
roman_io.adb:23:44: warning: variable "total" is never read and never assigned
roman_io.adb:24:17: warning: variable "numerals" is never read and never assigned
roman_io.adb:25:17: warning: variable "eol" is never read and never assigned
Code: Select all
Teh-Drac-Mac:Assignment 2 draconissoventefor$
Anyways, I think I'll keep this here for a few purposes. I am doubtful that people want to learn Ada when you could learn something better, but if I want to post something about it at least I have space to do so. Also, if I have time I thought up an interesting project that I might try to write in C++. It has to do with Chess. And Text Files. Wut?