Re: Flat Short of MEMORY_BLOCK

"Alexander Kogtenkov" <kwaxer-OY8o98/[email protected]>
Newsgroups gmane.comp.lang.eiffel.gobo.general
Message-ID <022401c40676$f1625f00$150110ac@alexander>
Brian Heilig wrote:

> peek_string (index: INTEGER; size: INTEGER): STRING is
> -- String of length `size' beginning at location `index'

Nothing is said about character encoding. I guess, it's
better to have a separate class(es) to convert bytes into
characters/strings using the specified encoding.

> However I believe this type of low-level access is a necessary
> part of any programming language.

Such class imposes several restrictions on memory model,
that could be unavailable on some platforms or execution
environments. (I'm almost sure, fully-trusted Java or .NET
applets have no direct access to memory at all.)

> I didn't find a class MEMORY_CELL in VE, maybe Alexander was 
> proposing this class as an implementation.

Yes, it was a proposal. The real class is
RTS_MEMORY_MAPPED_AREA_ARRAY and alike.

Alexander Kogtenkov


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/saFolB/TM
---------------------------------------------------------------------~->

To Post a message, send it to:   [email protected]
To Unsubscribe, send a blank message to: [email protected] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/gobo-eiffel/

<*> To unsubscribe from this group, send an email to:
     [email protected]

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.