Le 06/05/2012 19:41, RICHARD WALKER a écrit : > Well thank you all, > in particular I am now delighted to understand the difference between > > Public ArrayOfStrings[5] As String ----AND--- Public ArrayOfStrings As > New String[5] > > That has puzzled me for YEARS. I would usually just try combinations > of dimensioning the identifier or the type name until the code passed > all syntax checks and produced a result! > > I still cannot tell by looking at them which is what but at least now > I know what it is that I don't know. > > As for grenouilles, escargots and gambas - all too rich for my palate. > Bangers& mash with the fifty seventh variety of baked beans does me > just fine. > > Richard >
Sorry for the difficulty of that syntax! Embedded arrays were done so that it is possible to mimic a memory structure declared in a C library. Otherwise there is no real reason to use them. Regards, -- Benoît Minisini ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user