RE: SDL-News: Choice Primary


Subject: RE: SDL-News: Choice Primary
From: Carsten Krüger (ckr#condat.de)
Date: Tue May 15 2001 - 11:15:18 GMT


Become an SDL Forum Society member <http://www.sdl-forum.org/Society/members.htm>
The originator of this message is responsible for its content.
-----From =?ISO-8859-1?Q?Carsten_Krüger?= <ckr#condat.de> 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;
enddecision;

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

carsten.krueger#condat.de http://www.condat.de/

--End text from =?ISO-8859-1?Q?Carsten_Krüger?= <ckr#condat.de> to sdlnews --- For extra SDL Forum Society benefits join at <http://www.sdl-forum.org/Society/members.htm>



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