in reply to format problem

Smells like homework. Don't you need the amount written out non-numerically also?

Replies are listed 'Best First'.
Re^2: format problem
by newly (Initiate) on Jul 20, 2005 at 23:09 UTC
    yes, i got this code so far but im having some errors... please help... format STDOUT = Check No. @<<<<<< $chkno first @<<<<<<<<<< last @<<<<<<<<<<<<<<< $first,$last Address:@<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< $addr[0] Address:@<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< $addr[1] Phone:@<<<<<<<<<<<< Date:@<<<<<<<<<<<< $phone,$date . Pay to the Order of: @<<<<<<<<<<<<<<<<<<<<<<<<<<<<< $payee Format Amount: Amount: @#####.## $amount . For:@>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> $memo Stamped Signature .
      Can you show how you are using this, and what errors you get?
        i need to write a program that will generate a check i got his codes: format STDOUT = Check No. @<<<<<< $chkno first @<<<<<<<<<< last @<<<<<<<<<<<<<<< $first,$last Address:@<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< $addr[0] Address:@<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< $addr[1] Phone:@<<<<<<<<<<<< Date:@<<<<<<<<<<<< $phone,$date Pay to the Order of: @<<<<<<<<<<<<<<<<<<<<<<<<<<<<< $payee . format Amount: Amount: @#####.## $amount . format STDOUT = For:@>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> $memo Stamped Signature . i got this errors: am having syntax error line 24 EOF might be a run away multi line << string startng line 2 any help will do thanks