|Because PowerBuilder is an interpreted language then the size of your
scripts can have an effect on your overall system speed. By reducing an objects size by
10% your object will load 10% faster, run 10% faster and use 10% less memory.
tip is something I use to help maximize every last drop of performance from PB when doing
Instead of coding:
IF a = b THEN
cbx_1.checked = TRUE
cbx_1.checked = FALSE
cbx_1.checked = a = b
IF dw_1.GetItemString( 1, "column" ) = "AND" THEN
lb_Bool = TRUE
lb_Bool = FALSE
lb_Bool = dw_1.GetItemString( 1, "column" ) = "AND"
You can save space and slightly reduce execution time as well as object load times by
using this simple technique.