Advertisement
Guest User

Untitled

a guest
Feb 26th, 2019
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2.     Dim sstep, smax
  3.     Dim sLowLabel, sHighLabel
  4.  
  5.     set i=Null
  6.     smax = 99.9
  7.     sstep = 100.0/7.0
  8.     i = cdouble(0)
  9.     while true
  10.         if i > smax then exit while
  11.         sLowLabel = ctext(cdouble(CLong(i*100))*0.01)
  12.         sHighLabel = ctext(cdouble(CLong((i+sstep)*100-1))*0.01)
  13.         axis = axis + ", _range_"+ctext(clong(i))+" 'NET: "+sLowLabel+" - "+sHighLabel+"' expression('D1a[{_1}].Num>="+ctext(i)+iif(i+sstep<=smax," and D1a[{_1}].Num<"+ctext(i+sstep),"")+"')"
  14.         i = cdouble(cdouble(i) + cdouble(sstep))
  15.     end while
  16.     axis = axis.replace("99.99","100")
  17.     axis = axis.replace("<"+"100","<="+"100")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement