Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!spool.mu.edu!munnari.oz.au!metro!grivel!gara!ijohnson From: ijohnson@gara.une.oz.au (Ian Johnson) Newsgroups: comp.lang.pascal Subject: Pointers in TP Keywords: Pointers, TP Message-ID: <5841@gara.une.oz.au> Date: 5 Apr 91 01:39:46 GMT Article-I.D.: gara.5841 Organization: University of New England, Armidale, Australia Lines: 17 This question is, hopefully, very simple. Referring to the 'hugemats' program by Kent Porter (as cited by Timo Salmi in his frequently asked questions and answers information) if I define a var as SingleCol : colArray; and then in the program have the statement SingleCol := A^[25].col^; this appears to isolate the 25th row (col) of the matrix A. My question is, is this safe? I'm not really experienced with pointers, and am worried that it may appear to work, but that the memory associated with SingleCol may be over written. Thanks in advance. Ian Johnson: email ijohnson@gara.une.oz.au