Number: 266

Date: 22-Mar-84 12':18':11

Submitter: Sannella.PA


Subject: Want way to find size of BLOCKRECORD

Lisp Version: 

Description: '
Date': 22 MAR 84 09':44 PST'
Subject': RECORD AR'
To':   lispsupport'
cc':   vanMelle'
Bill, did you do a SIZEF as well as a LOCF? Is LOCF and friends documented?'
22 - *******************************************'
Date': 21 Mar 84 19':01 PST'
Subject': RECORD question'
To': Masinter'
If you have a blockrecord, is there some convenient way of asking how big (in words) it is?  For example, in Mesa you say SIZE[typeName].'
-- Tayloe.'
Date': 22 Mar 84 10':50 PST'
Subject': Re': RECORD AR'
In-reply-to': MASINTER.PA''s message of 22 MAR 84 09':44 PST'
To': Stansbury, MASINTER.PA'
cc': lispsupport.PA, vanMelle.PA'
No, I didn''t know how to do a size.  In the case of blockrecords, the best I know to do is define a dummy field at the end of the record (LASTFIELD WORD) and then ask for (INDEXF (fetch LASTFIELD of T)).'
If LOCF is not documented in the implementors manual, I''ll be happy to add a blurb.  Is there a keeper of the manual, or can I just go in and edit it?'
Date': 22 Mar 84 14':45':29 PST (Thursday)'
From': Masinter.PA'
Subject': Re': RECORD AR'
In-reply-to': vanMelle''s message of 22 Mar 84 10':50 PST'
To': vanMelle'
cc': Stansbury, MASINTER, lispsupport'
Hm, that might even be a good idiom, e.g.'
(BLOCKRECORD FOO (xxxx (lastfield WORD)) '
   (ACCESSFNS FOO (SIZE (INDEXF (fetch lastfield of FOO]'
   then (fetch (FOO SIZE) T).'
   Certainly a hack, and an AR (problem type': design, User Interface).'


Test Case: 

Edit-By: masinter.PA

Edit-Date: 13-Jul-84 17':41':11

Attn: Masinter

Assigned To: 



System: Programming Environment

Subsystem: Record Package



Microcode Version: 

Memory Size: 

File Server: 

Server Software Version: 


Frequency: Intermittent

Impact: Annoying

Priority: Unlikely

Status: Open

Problem Type: Design - UI

Source Files: