I am going to HAVE to agree with Lawrence and Andrew, defining procedures within a pcell is not a good idea. I would define them either before the pcDefinePcell or in a separate file and use libInit.il to load that procedure. Your implementation is very hard to debug.
Inside a pcell, println causes an error. poport, the output port for println, is not available in the pcell interpreter. stdout and stderr are available so you should use fprintf:
fprintf( stdout "%s => %L\n" pcCellView~>cellName outputValue )