Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!rice!uw-beaver!ubc-cs!alberta!ncc!idacom!andrew From: andrew@idacom.uucp (Andrew Scott) Newsgroups: comp.lang.forth Subject: Re: Data Structures Message-ID: <1990Sep20.164429.15317@idacom.uucp> Date: 20 Sep 90 16:44:29 GMT References: <9009142026.AA19345@ucbvax.Berkeley.EDU> Organization: IDACOM, a division of Hewlett-Packard Lines: 14 Mitch Bradley writes: > Forth should only have one visible string > representation (currently it has 4), and that representation should be > "adr len" on the stack. How do I get "adr len" on the stack? The operation is defined for strings defined with " , but what about strings in memory? I can only get the address of a string buffer defined with CREATE, for example. I must use COUNT, or perhaps STRLEN for a null terminated string, to get the length. I do not want to have to declare a seperate VARIABLE for the length of each string buffer I use. -- Andrew Scott | mail: andrew@idacom.uucp | - or - ..!uunet!ubc-cs!alberta!idacom!andrew