T.R | Title | User | Personal Name | Date | Lines |
---|
1640.1 | Unsigned64 works and is probably adequate. | BYBLOS::TAMER | | Fri Oct 11 1991 14:54 | 7 |
| re .0
Problem 2 in base: Integer64 problem. Well, Unsigned64 works from the FCL and it might be
enough for me. However, problem 1 (embedded parentheses in instance names) is a
problem that I can't get around.
Phil
|
1640.2 | imbedded parens in expression | TOOK::CALLANDER | MCC = My Constant Companion | Wed Oct 23 1991 20:23 | 9 |
| Phil, there isn't going to be a way around the imbedded parens. You see
the parser only knows it has hit the end of an expression when it has
found the "matching" paren. To do this we need some type of rules to
use in figuring it out since there can be any valid character between
the parens (except the "!"). So, we count right and left parens until
we have an even set of matched pairs.
Sorry
jill
|
1640.3 | As outlined , your algorithm should have handled what I requested | BYBLOS::TAMER | | Wed Oct 30 1991 16:46 | 27 |
| re .2
Jill,
What you are saying here is exactly what I need. That is to stop when you have
an even set of matched pairs of parentheses.
Currently, this works when the expression is attribute/argument but does not
work when it is an instance of type expression.
To illustrate further: if ( (abc) ) is an attribute value, the parser accepts
it. If ( (abc) ) is an instance name, the parser does not accept. This means
that the algorithm that you outlined in .2:
>So, we count right and left parens until we have an even set of matched pairs.
does work in the attr/arg case and does not work in the instance case.
Did I not understand your reply ?
Thanks again,
Phil
PS: I would like very much for this to be fixed if it is a bug since an entity
that I have depends heavily on this and I haven't figured out how to get around
it in case this can't be fixed.
|
1640.4 | if still a problem please contact me | TOOK::CALLANDER | MCC = My Constant Companion | Thu Jan 02 1992 11:33 | 9 |
| Phil,
and expression doesn't allow you to state a datatype within the
expression, it simply looks for the matching paren. Your note
confuses me, you would need to be a bit clearer as to exactly
what datatype each thing is declared as being.
thanks
jill
(yes we went to field test so I am back)
|