skill fprintf formatting

Discussion in 'Cadence' started by stroller, Jun 1, 2005.

  1. stroller

    stroller Guest

    hi all,

    i need to print to a file the following

    fprintf( mFilePort "%--------------------\n")

    where the % is a comment in the target syntax

    i get an 'incorrect fprintf formatting' error when i try this however.
    i've tried \% and that doesn't seem to work either... can anyone tell
    me what i need to do to get the "%" printed here?

    thx
     
    stroller, Jun 1, 2005
    #1
  2. %% is the sequence to print a %.

    Andrew.
     
    Andrew Beckett, Jun 1, 2005
    #2
  3. stroller

    stroller Guest

    great, thx!!
     
    stroller, Jun 1, 2005
    #3
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.