SDL-News: Two SDL questions

Subject: SDL-News: Two SDL questions
From: Sebastien Faucou (
Date: Fri Jun 01 2001 - 12:27:55 GMT

Become an SDL Forum Society member <>
The originator of this message is responsible for its content.
-----From Sebastien Faucou <> 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.


--End text from Sebastien Faucou <> 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