 
					
				
		
 tst
		
			tst
		
		
		 
		
		
		
		
		
	
			05-27-2007 01:10 PM

05-28-2007 05:06 AM
Just a point I noticed about that (very quick) example - the Defer Updates input should probably be a required input and in any case should not be T by default, because that would make the FP get stuck.
Attached is a simple example demonstrating its use. When the OK button is changed, the updates are defered for several iterations.
 ohiofudu
		
			ohiofudu
		
		
		
		
		
		
		
		
	
			05-28-2007 03:12 PM
 Ben
		
			Ben
		
		
		 
		
		
		
		
		
	
			05-29-2007 08:48 AM
Good Nugget tst!
I use this approach often and generally enunciate an error if the default is discovered.
Ben
 
					
				
		
 Ray.R
		
			Ray.R
		
		
		 
		
		
		
		
		
	
			05-29-2007 08:54 AM
 dan_u
		
			dan_u
		
		
		
		
		
		
		
		
	
			05-29-2007 09:20 AM
05-29-2007 10:10 AM
@Ben wrote:
I use this approach often and generally enunciate an error if the default is discovered.
So why not just make the input required and that way you "should" never get default values?
The point here was to use the default for additional functionality where it would make sense and the user does not wire anything in (like working on the current item, remembering past values, etc.).
Do other people have good examples of this?
 johnsold
		
			johnsold
		
		
		
		
		
		
		
		
	
			05-29-2007 10:10 AM
 Darren
		
			Darren
		
		
		
		
		
		
		
		
	
			05-29-2007 10:14 AM
@johnsold wrote:
Is there any way to detect when a variant is empty?
Check out Darren's 2nd Weekly Nugget...you can use the Empty String/Path? function.
-D
P.S. - Someday, the on-line help for Empty String/Path? will indicate that it works on variants, pictures, etc.
 johnsold
		
			johnsold
		
		
		
		
		
		
		
		
	
			05-29-2007 10:34 AM