Path: utzoo!utgpu!water!watmath!clyde!rutgers!mit-eddie!husc6!think!ames!pasteur!ucbvax!sdcsvax!ucsdhub!esosun!seismo!uunet!mcvax!ukc!its63b!aiva!ken From: ken@aiva.ed.ac.uk (Ken Johnson) Newsgroups: comp.lang.misc Subject: Re: Pointers in BCPL (Was: The Name of C) Summary: Alternative to Packstring/Getstring Keywords: % Message-ID: <233@aiva.ed.ac.uk> Date: 20 Jan 88 10:55:35 GMT References: <11167@brl-adm.ARPA> <36200003@pyr1.cs.ucl.ac.uk> <6596@agate.BERKELEY.EDU> Followup-To: comp.lang.misc Organization: Dept. of AI, Univ. of Edinburgh, UK Lines: 10 Some BCPLs now have a % operator to make storing characters easier, so if "foo" is the address of the start of a string, foo%5 is its sixth character (they're numbered from 0) and you can assign to it or find its value. Unlike ! the % operator is not commutative. -- ------------------------------------------------------------------------------ From Ken Johnson, AI Applications Institute, The University, EDINBURGH Phone 031-225 4464 ext 212 Email k.johnson@ed.ac.uk