Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
i have 100 lines of script which is common in 10 tabs here i want to optimize it ? how ?
Use "SUB" and "CALL" instructions
Can u elabarate
Sub - End sub is the definition for a subroutine that is a piece of code reusable:
sub INCR (I,J)
I = I + 1
exit sub when I < 10
J = J + 1
end sub
Call with the name of subroutine recall the piece of code
call INCR (X,Y)
If it's also usable in other apps you could write it on a text file (.txt or .qvs for example) and include it on all the necesary apps.