NasibKalsi
Programmer
Hello All:
Is there any function which can return the current value of SET DELETED ??.
My Best
Is there any function which can return the current value of SET DELETED ??.
My Best
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Display Status To File "filename.ext"
*
* Compare the fox 9.0 SP1 command execution time.
*
set talk off
set echo off
#define __MAXLOOP 1000000
* Cacculate Overhead
i_Start0 = seconds()
for jj = 1 to __MAXLOOP
endfor
i_End0 = seconds()
i_LoopOverhead = i_End0 - i_Start0
? "0. Loop Overhead:",i_LoopOverHead
* 1. Start with amphersand(&) substitution
* ----------------------------------------
i_Start1 = seconds()
for jj = 1 to __MAXLOOP
jc = alltrim(str(mod(jj,10),4))
j&jc = jj && This will create Variables of the form j1, j2, j3 ...
endfor
i_End1 = seconds()
? "1. Time Taken By Amphersand Substition:",(i_End1 - i_Start1)
i_Start2 = seconds()
* Start with transform substitution
* ---------------------------------
for jj = 1 to __MAXLOOP
jc = transform(mod(jj,10))
j&jc = jj && This will create Variables of the form j1, j2, j3 ...
endfor
i_End2 = seconds()
? "2. Time Taken By TRANSFORM :",(i_End2-i_Start2)
* 3. Start with arrary substitution
* -------------------------------------
i_Start3 = seconds()
dime ja[10]
for jj = 1 to __MAXLOOP
ji = mod(jj,10) + 1
ja[ji] = jj
endfor
i_End3 = seconds()
? "3. Time Taken By Array Substition:",(i_End3 - i_Start3)
? "-----------------------------------"
for jj = 1 to __MAXLOOP
jc = transform(mod(jj,10))
store jj to ("j"+jc)
endfor
i_End2 = seconds()
? "2. Time Taken By Name expression :",(i_End2-i_Start2)