Creating new cards
New cards can be created by copying information into spare columns of the C array. To save these as part of a new data file you must give each new card the same respondent serial number as the rest of the data in the array and a card type which may or may not be unique.
Example
The example below moves some information from card 1 of a 2-card data set into a new card 3.
/* Copy the data into the new card
c(310,341)=c(148,179)
/* Delete it from its original place
c(148,179)=$ $
/* Give it a serial number and card type
c(301,304)=c(101,104); c380'3'
/* Set thisread true for card 3
thisread3=1
/* Define pfil as a data file
filedef pfil data
/* Copy cards 1, 2 and 3 to pfil
write pfil
See also