« Revision Time (PROCESS REC) | Main | Using VARPUT function in a called procedure »
Wednesday
Dec032008

Quick check on a case

Based on a bit of code from David Baxter at SIR which shows off SIR's very useful functions.
This one will print out the record number, record name and the number of rows for the case you are interested in.

retrieval
. old case is 'ACBCDEF1'
. for i = 1,nrecs(0)
. write [recnum(recname(i))][RECNAME( i )][count(i)]
. end for
. end case
end retrieval

Reader Comments

There are no comments for this journal entry. To create a new comment, use the form below.

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>