Thread View: net.lang.ada
1 messages
1 total messages
Started by "LEN ARMSTRONG ", SYSTEMS LAB
Mon, 13 Oct 1986 14:09
Need to see certain data inside a task type.
Author: "LEN ARMSTRONG ", SYSTEMS LAB
Date: Mon, 13 Oct 1986 14:09
Date: Mon, 13 Oct 1986 14:09
29 lines
1437 bytes
1437 bytes
OK, I need some help -- anyone wanna' volunteer?
I have a construct similar to the following:
package P is
task type T is
entry E1; -- Entries are really unimportant for this example.
entry E2;
end T;
type TR (PARAM_FIELD : <SOME_TYPE>) is
record
TASK_FIELD : T;
end record;
XX : TR(<SOME_CONSTANT_VALUE_OF_<SOME_TYPE>>)
end P;
However, my problem comes in when I am in the body of the task type T. I
need to access inside XX.TASK_FIELD the value held by XX.PARAM_FIELD. Does
anyone know of anyway I can do this? For some reason, I feel my chances of
being allowed to do it are very slim.
I would really like to be able to keep the lexical structure I am currently
using (as defined above) but other solutions are welcome also.
Thanks,
Len
LArmstrong%Henry@RCA.Com
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads