version 1.1, 1999/10/08 02:12:02 |
version 1.2, 1999/11/07 13:24:19 |
|
|
|
/* $OpenXM$ */ |
/* primitive.c */ |
/* primitive.c */ |
/* The functions in this module were in stackmachine.c */ |
/* The functions in this module were in stackmachine.c */ |
|
|
|
|
{ |
{ |
int size; |
int size; |
int i; |
int i; |
|
extern char *LeftBracket, *RightBracket; |
size = ob.lc.ival; |
size = ob.lc.ival; |
fprintf(fp,"[ "); |
fprintf(fp,"%s ",LeftBracket); |
for (i=0; i<size; i++) { |
for (i=0; i<size; i++) { |
if (PrintComma && (i != 0)) { |
if (PrintComma && (i != 0)) { |
fprintf(fp," , "); |
fprintf(fp," , "); |
|
|
} |
} |
printObject((ob.rc.op)[i],0,fp); |
printObject((ob.rc.op)[i],0,fp); |
} |
} |
fprintf(fp," ] "); |
fprintf(fp," %s ",RightBracket); |
if (nl) fprintf(fp,"\n"); |
if (nl) fprintf(fp,"\n"); |
} |
} |
|
|