Seriously, you should give some more info...I'm not getting the logic of the transformation of that number, can you explain it clearly, in order to avoid wrong suggestions?
-Mirko-
"Never memorize what you can easily find in a book".....Or Mibuso My Blog
what I would do is
scramble(x) = 12345678
insstr(x,',',strlen(x)/2) -> x = 1234,5678
for i := 1 to 2 do
subX selectstr(i,x) -> x = 1234,5678 subX[1]= 1234 subX[2] = 5678
x:='';
for i := 1 to strlen(subX) do begin
x += copystr(subx[1],i,1) + copystr(subx[2],i,1)
|Pressing F1 is so much faster than opening your browser| |To-Increase|
Comments
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
Just curious
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
(not tested)
what I would do is
scramble(x) = 12345678
insstr(x,',',strlen(x)/2) -> x = 1234,5678
for i := 1 to 2 do
subX selectstr(i,x) -> x = 1234,5678 subX[1]= 1234 subX[2] = 5678
x:='';
for i := 1 to strlen(subX) do begin
x += copystr(subx[1],i,1) + copystr(subx[2],i,1)
|To-Increase|