<HTML> <HEAD> <TITLE> REF, REFRESH </TITLE> </HEAD> <BODY BACKGROUND="garlic.gif"> <FONT FACE="Times, Helvetica"> <H1 ALIGN=CENTER> <FONT SIZE=5> <B> REF, REFRESH </B> </FONT> </H1> <HR SIZE="3"> <FONT SIZE=3 COLOR=#880000> <B> NAME <BR> </B> </FONT> <FONT SIZE=2> <B> REF, REFRESH - switch refreshing on or off. <BR><BR> </B> </FONT> <FONT SIZE=3 COLOR=#880000> <B> SYNOPSIS <BR> </B> </FONT> <FONT SIZE=2> <B> REF <BR> REFRESH <BR> REF OFF <BR> REFRESH OFF <BR><BR> </B> </FONT> <FONT SIZE=3 COLOR=#880000> <B> DESCRIPTION <BR> </B> </FONT> <FONT SIZE=2> <B> Most of garlic commands require redrawing of the main window. This may slow down the execution of the program. To save some time, the refreshing may be switched off. Just execute the command: <BR><BR> ref off <BR><BR> (the long form is REFRESH OFF). After that, a number of time-consuming commands may be executed, and refreshing may be turned on again. To switch on refreshing, execute the command REF without the keyword OFF: <BR><BR> ref <BR><BR> This trick is very useful with scripts. Put the command REF OFF close to the top of the script and do not forget to put the command REF (without the keyword OFF!) to the bottom of the script. Try the sample scripts <A HREF="http://pref.etfos.hr/garlic-1.2/tutorial/script1.html"> atoms.script </A> , <A HREF="http://pref.etfos.hr/garlic-1.2/tutorial/script2.html"> bonds.script </A> and <A HREF="http://pref.etfos.hr/garlic-1.2/tutorial/script3.html"> colors.script </A> . The refreshing trick is used in these scripts. <BR><BR> If refreshing is switched off, you will see the message in the middle of the main garlic window (yellow text "Refreshing off" on red background). <BR><BR> <IMG SRC="ref_off.gif"> <BR><BR> </B> </FONT> <HR SIZE="3"> </FONT> </BODY> </HTML>