[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Event Groups using ReadOldPDP




Earlier, I reported problems using ReadOldPDP to read a file that
contains event groups.  It seemed unable to use the "startgroup" and
"endgroup" comments to group events into event groups.    

I think I have solved the problem by including an extra "startgroup" at
the beginning of the file, so the file starts with two consecutive
"startgroup" commands.  I have no idea why this works.
 
By the way, it seems that the startgroup and endgroup comments only
work if there is a space between the '#' and the text of the comment.  
Otherwise, they are ignored.

Al Kim

Here's a sample of a working ReadOldPDP input file: 

# startgroup
# startgroup
ax  1 1 1 1 0 0 1 0 0 0 0 1 0 0 1 0 1 0 0 1 1 0 0 1 1 1 0 0 0 0   1 0 1 1 0 0 0 0 0 1 0 0 0 0 0 0 0  1 0 
g  1 1 1 1 0 0 1 0 0 0 0 1 0 0 1 0 1 0 0 1 1 0 0 1 1 1 0 0 0 0   0 1 0 1 0 1 0 0 0 1 0 1 0 0 0 0 0  0 0 
ow  1 1 1 1 0 0 1 0 0 0 0 1 0 0 1 0 1 0 0 1 1 0 0 1 1 1 0 0 0 0   1 0 1 1 1 0 0 0 0 1 0 0 0 0 0 1 0  1 0 
# endgroup
# startgroup
b  1 0 1 1 1 0 1 1 0 1 1 1 0 0 1 1 0 1 0 0 0 0 0 0 1 0 1 0 0 0   0 1 0 1 0 0 0 1 0 0 0 1 0 0 0 0 0  0 0 
eh  1 0 1 1 1 0 1 1 0 1 1 1 0 0 1 1 0 1 0 0 0 0 0 0 1 0 1 0 0 0   1 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0  1 0 
d  1 0 1 1 1 0 1 1 0 1 1 1 0 0 1 1 0 1 0 0 0 0 0 0 1 0 1 0 0 0   0 1 0 1 0 0 0 1 1 0 0 1 0 0 0 0 0  0 0 
# endgroup
# startgroup
k  0 1 1 0 0 0 1 0 0 0 0 1 1 0 0 1 0 0 0 1 0 1 1 0 0 0 0 0 0 0   0 1 0 0 0 1 0 0 0 1 0 1 0 0 0 0 0  0 0 
aax  0 1 1 0 0 0 1 0 0 0 0 1 1 0 0 1 0 0 0 1 0 1 1 0 0 0 0 0 0 0   1 0 1 1 1 0 1 0 0 1 0 0 0 0 0 0 0  1 0 
r  0 1 1 0 0 0 1 0 0 0 0 1 1 0 0 1 0 0 0 1 0 1 1 0 0 0 0 0 0 0   0 1 1 1 0 0 0 1 1 0 1 0 0 0 0 0 1  0 0 
# endgroup