SDL-News: Integer to Time casting


Subject: SDL-News: Integer to Time casting
From: Margarita de Cabo Pérez (marcab#yllera.tel.uva.es)
Date: Fri Jul 25 2003 - 18:06:52 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?Margarita_de_Cabo_P=E9rez?= <marcab#yllera.tel.uva.es> to sdlnews -----

Hi,

I would like to transform an integer value into a Duration value, and
viceversa. I understand
that Duration is in fact a real type, but I can put my integer into a real
an
used the last like Duration. I doing the following:

dcl tiempoQueda Duration;
dcl tiempo Integer;

tiempo:=fix(tiempoQueda);
What I have to do?
I'm working with Cinderella.

Marga
--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 <http://www.sdl-forum.org/Society/members.htm>



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