<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>Is that legal or is that subverting things?<BR>
It depends on the context?<BR>
Can the pointers be to read only memory in the code?<BR>
<BR>
- Jay<BR><BR><BR>
<HR id=stopSpelling>
<BR>
> From: hosking@cs.purdue.edu<BR>> To: mika@async.caltech.edu<BR>> Date: Tue, 26 Feb 2008 15:16:47 -0500<BR>> CC: m3devel@elegosoft.com<BR>> Subject: Re: [M3devel] text inefficiency? good mutable string type? arrays?<BR>> <BR>> ARRAY OF CHAR/WIDECHAR?<BR>> <BR>> These are available in the various Text implementations. For exampe, <BR>> Text8.T.contents. One can freely mutate these at leisure and the <BR>> higher-level text will appear to change!<BR>> <BR>> On Feb 26, 2008, at 2:22 PM, Mika Nystrom wrote:<BR>> <BR>> > Olaf Wagner writes:<BR>> >> Quoting Jay <jayk123@hotmail.com>:<BR>> >><BR>> >>> I know this area has been brewing under the surface a while.<BR>> >>> I'll bring it up. :)<BR>> >>><BR>> >>> I assume texts are read only?<BR>> >><BR>> >> Yes.<BR>> >><BR>> >>> I know lots of systems have read only strings.<BR>> >>> There are pluses and minus to them. They can be single-instanced.<BR>> >>> Some systems with read only strings have another type, such as<BR>> >>> "StringBuilder" or "StringBuffer".<BR>> >>> So -- I don't have a specific question, but maybe a mutable string<BR>> >>> "class" aka "type" is needed?Not necessarily in the language but in<BR>> >>> m3core or libm3?<BR>> >>> Maybe it's already there?<BR>> ><BR>> > CharSeq.T?<BR>> <BR><BR><br /><hr />Climb to the top of the charts! Play the word scramble challenge with star power. <a href='http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_jan' target='_new'>Play now!</a></body>
</html>