Subject: RE: SDL-News: Two SDL questions
john.svensson#telelogic.se
Date: Fri Jun 01 2001 - 14:16:12 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 john.svensson#telelogic.se to sdlnews -----
Hello Sebastien,
The first index in a string is 1.
From your string example a2 will be a copy of a1. SDL as a language
stipulates complete value passing for arrays.
Best regards,
John Svensson
-----------------------------------------------------------------------
Telelogic Tau 4.2 speeds up your wireless development! Read more about
it at <http://www.telelogic.com/tau42>
-----------------------------------------------------------------------
> John Svensson
> Product Development Manager
> Telelogic Academy
> P O Box 4128 phone: +46 40-17 47 45
> SE-203 12 Malmö fax: +46 40-17 47 47
> Sweden mobile: +46-705 17 47 72
> E-mail: john.svensson#telelogic.com
> http://www.telelogic.com
>
-----Original Message-----
From: Sebastien Faucou [mailto:Sebastien.Faucou#irccyn.ec-nantes.fr]
Sent: den 1 juni 2001 14:28
To: sdlnews#sdl-forum.org
Subject: SDL-news: Two SDL questions
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 Sebastien Faucou <Sebastien.Faucou#irccyn.ec-nantes.fr> to sdlnews
-----
Dear SDL experts,
I am just beginning with SDL and I have two "beginners" questions :
1) What is the index of the first element of a String : 0 or 1 ?
2) Can I affect directly an Array (or a String, or a Struct, ...), like in
:
newtype foo
Array(index, elem)
endnewtype foo
..
dcl a1, a2 foo;
..
/* a1 is filled with some data */
TASK a2 := a1;
Does a2 contains a copy of the data of a1 ?
Thank you in advance for your answers.
Sébastien.
--End text from Sebastien Faucou <Sebastien.Faucou#irccyn.ec-nantes.fr> to
sdlnews ---
For extra SDL Forum Society benefits join at
<http://www.sdl-forum.org/Society/members.htm>
For help, email "majordomo#sdl-forum.org" with the body of your email as:
or (iff this does not answer your question) email:
owner-sdlnews#sdl-forum.org
--End text from john.svensson#telelogic.se 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