Legato is an interpreted language, but even so, it performs quite quickly. Most scripts will execute within a second or so, even if it’s the script contains relatively complex HTML parsing or something similar. However, occasionally there are scripts that iterate over extremely large data sets, or work with file IO, or really do anything that can take a long time. If the script is just running, unless you put up some sort of a progress bar, it might look like the application has frozen to the user. Therefore, it’s really important to put up a progress bar to let the user know what’s going on with the script. I’ve put together a simple example script of a progress bar below, but let’s talk about how to use one first.
Continue reading "LDC #87: Using Progress Bars" »