Subject: SV: SDL-News: Doldi's book example with Cinderella
From: Anders Olsen (anders#cinderella.dk)
Date: Mon Sep 22 2003 - 10:11:28 GMT
Cinderella SDL does support the present operator. However, a general rule in
that operators start with lowercase, so the operator name is "present"
rather than "Present".
But this might not be correct. I checked (the (11/99) version of) the
SDL-2000 recommendation and
found that the text defines present starting with upper case. Maybe Rick
could respond about what is correct?
> -----Oprindelig meddelelse-----
> Fra: owner-sdlnews#sdl-forum.org [mailto:owner-sdlnews#sdl-forum.org]Pa
> vegne af Margarita de Cabo Perez
> Sendt: 22. september 2003 11:26
> Til: sdlnews#sdl-forum.org
> Emne: SDL-news: Doldi's book example with Cinderella
> Become an SDL Forum Society member
> The originator of this message is responsible for its content.
> -----From =?ISO-8859-1?Q?Margarita_de_Cabo_P=E9rez?=
> <marcab#yllera.tel.uva.es> to sdlnews -----
> I want to use a Choice type in Cinderella, I try Doldi's book example in
> fig:288, it works fine for the data type definition of Msg and assigment
> of a
> value to a variable of that type, m1, but Cinderella complains about the
> implicit field Present. Is it something wrong with the example or
> does Cinderella not support Present? If Cinderella does not support
> Present how can I guess the part of the Choice that is filled?
> --End text from =?ISO-8859-1?Q?Margarita_de_Cabo_P=E9rez?=
> <marcab#yllera.tel.uva.es> to sdlnews ---
> For extra SDL Forum Society benefits join at
> For help, email "majordomo#sdl-forum.org" with the body of your email as:
> or (iff this does not answer your question) email:
My inbox is protected against spam by SPAMfighter.
Download at http://www.SPAMfighter.com
This archive was generated by hypermail 2a23 : Sun May 19 2013 - 23:10:31 GMT