Hi,
The solution is to use the 2 methods:
- $JUSTIFY($J) - For Adding leading spaces (" ")
- $REPLACE - For Replasing the spaces to zeros.
so in that case:
set Num=1
set NumWithLeadingZeros= $REPLACE($J(Num,9)," ","0")
- Log in to post comments
Hi,
The solution is to use the 2 methods:
so in that case:
set Num=1
set NumWithLeadingZeros= $REPLACE($J(Num,9)," ","0")
Hi Eduard,
Thank you for you answer.
We are using atelier in eclips photon with TFS PlugIn for developing ensemble interfaces .
Most of the CI/CD article is dealing with the building proccess.
I'm no sure is possible when using object script due to the fact i'm not familiar with any external building agent that suites for building our code morover i dont realy understand why should we build it in the first place if we exporting and importing the code as is between the environments(dev-->Test, Test-->Prod).
It May be very halpfull to know if:
kind regards,
stas.