Search found 2 matches

by aurelie
Wed Apr 28, 2010 7:10 pm
Forum: Language Issues
Topic: Trouble with TYPE
Replies: 11
Views: 17656

Re: Trouble with TYPE

I'm trying to use the syntax with INIT that you propose but the problem is I have to init a Point that is another user-define type. I'm working with DBrowser 2.08 Here is the definition of Point: TYPE Point POSSREP Point{Abscisse RATIONAL,Ordonne RATIONAL}; Here is the definition of a line: TYPE Lin...
by aurelie
Fri Nov 06, 2009 2:04 am
Forum: Language Issues
Topic: Trouble with TYPE
Replies: 11
Views: 17656

Trouble with TYPE

I have some trouble with the use of TYPE in the version 2.03 of Rel-DBrowser. When I try to define a type like this: TYPE Telephone POSSREP {tel CHAR CONSTRAINT SUBSTR(tel,1,1)='+' AND CHAR_LENGTH(tel)>2 AND CHAR_LENGTH(tel)<17}; Rel says that it's OK but then if I try to use this type or if i just ...