T O P I C R E V I E W |
contac |
Posted - 02/25/2002 : 11:50:06 AM Whats the difference of delete Myvar; and delete Myvar;;
 |
2 L A T E S T R E P L I E S (Newest First) |
CStorey |
Posted - 02/27/2002 : 5:55:51 PM I think the difference is that the LabTalk interpretor looks at everything upto or between a set of ";" as a command. So a blank line gets interpretted, but nothing happens. (Except a time penalty for the interpretter to figure out that it's not supposed to do anything.)
So...
delete MyVar; is 1 command to interpret delete MyVar; is 2 commands to interpret - Delete and do nothing.
Mike, I think the kbase article is using the leading ";" as time delay to allow the window to be completely drawn before any real commands get executed. However, this is all speculation.
Craig Storey Origin WebRing Member - http://g.webring.com/hub?ring=originwebring |
Mike Buess |
Posted - 02/27/2002 : 3:36:52 PM I'm not sure if this will help, but it might have something to do with this KB article.
Mike Buess Origin WebRing Member |
|
|