Skip to content
  • Daan Vreeken's avatar
    Add optional initial value to argument list of the 'value' block. · ca041574
    Daan Vreeken authored
    Before, a value of '1.0' had to be created like this :
    
    	blocks(..) {
    		{ "value", "one" }
    	}
    	params {
    		{ "one", "value", 1.0 }
    	}
    
    Now you can simply instantiate the same block with :
    
    	blocks(..) {
    		{ "value", "one", 1.0 }
    	}
    
    I've finally found a good use for fully specified multiple choice argument
    lists :)
    
    	modified:   block/block_value.c
    ca041574