Re: Space format issue…

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf spacing format issue ???? Re: Space format issue…

#59107
Anonymous
Participant

    I’m assuming you are using the format command.  Determine the maximum number of spaces for your first column and the maximum number of spaces for your second column ( the second number may not be necessary so long as you know you won’t go over the specified number of spaces per line).  See the format example below:

    set Pat_Header [format “%-41s %-24s” $Pat_Name $Pat_ID]

    The “s” identifies it as a string and the “-” left justifies the column.

    Hope this is what you were looking for.

    Thomas G. Rioux

    The Methodist Hospital