Convert CGTcalculator data for stonebanks calculator

I AM NOT QUALIFIED OR AUTHORISED TO GIVE INVESTMENT ADVICE

This program changes source format from that reqd for www.CGTcalculator.com to that for CGT program at www.stonebanks.co.uk

CGTcalculator format:
B/S date dd/mm/yyyy company qty share_price(pounds.pence) charges(commission) tax

My format - company-code (EPIC), company name
then deals: date, b/s, qty, share_price(p), total price(pounds.pence)

Sample input data:

B 13/10/2004 EXT 13000 0.305 15 19.83
S 01/09/2005 EXT 13000 0.4461 14.99 0

B 18/04/2002 FRNI 5000 0.45 22.5 11.25
S 03/10/2005 FRNI 5000 0.4201 14.99 0

B 15/07/2005 JSS 8919 0.394 14.99 17.57
B 25/07/2005 JSS 11771 0.396 15 23.31
S 19/10/2005 JSS 20690 0.425 14.99 0

Let me know if you have problems - send an email to david@stonebanks.co.uk

Copy and paste source data (in CGTcalculator format) into the upper (input) text box.
Click on process then you can copy and paste from the lower (output) text box.
The middle text box displays intermediate info for testing

I AM NOT QUALIFIED OR AUTHORISED TO GIVE INVESTMENT ADVICE