Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 01 MAY 2000 04:27:38PM Jim Dierking wrote:

I need to append a variable number of zeros to the left of a string.

I acheived this by using case logic and concatenating onto the string. However, I was wonder if there is some sort of RBasic append command. In this case, I have to have a total of eight digits.

I substract the hard data(wt of a package) from the eight and obtain the number of zeros needed to be added onto the string. Appreciate

your help, Jim.


At 01 MAY 2000 05:12PM rayc@symmetryinfo.com wrote:

Jim,

Have you tried FMT? For example,

val=1

xx =FMT(val,"R(0)#8) ;* this will give you 8 digits. If val is not 8 digits, then it will zero fill to the left.

xx will display 00000001.

Very useful. Try it.

rayc@symmetryinfo.com onmouseover=window.status=imagine … ;return(true)"

Symmetry Info

Ray Chan ~ Symmetry Info


At 01 MAY 2000 06:03PM Don Bakke wrote:

Jim,

Did you get the source code from me? I haven't heard back yet from you.

dbakke@srpcs.com

SRP Computer Solutions

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/7f107e39a03cfd17852568d2007064c3.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1