RE: SDL-News: Choice Primary

Subject: RE: SDL-News: Choice Primary
From: Carsten Krüger (
Date: Tue May 15 2001 - 11:15:18 GMT

Become an SDL Forum Society member <>
The originator of this message is responsible for its content.
-----From =?ISO-8859-1?Q?Carsten_Krüger?= <> to sdlnews -----

> >shouldn't the following SDL fragment be correct from a syntax point
> >of view?
> No.
Why not?
Of course this works

> decision a!present;
> (x): decision a!x;
> (0): return True;
> else: return False;
> enddecision;
> else: etc.
> enddecision;

and so does this,

decision a = x:0;
  (True): return True;
  else: return False;

but my intent was to understand WHY the use of a Choice Primary
in a decision question should not be allowed!

Regards Carsten

Carsten Krüger      	        Condat AG
Software Engineer               Alt-Moabit 91 d
Tel:   +49.30.39094-243         10559 Berlin
Fax:   +49.30.39094-300         Germany

--End text from =?ISO-8859-1?Q?Carsten_Krüger?= <> to sdlnews --- For extra SDL Forum Society benefits join at <>

This archive was generated by hypermail 2a23 : Thu May 09 2013 - 16:05:49 GMT