|  | @@ -133,7 +133,19 @@ function updateInitialValues (global_var) {
 | 
	
		
			
				|  |  |  			global_var.value = [[true, true], [true, true]];
 | 
	
		
			
				|  |  |  		}
 | 
	
		
			
				|  |  |  	}
 | 
	
		
			
				|  |  | -	registerSystemEvent(function_name, ActionTypes.CHANGE_GLOBAL_VALUE, global_var.name,
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +	if (global_var.type == Types.CHAR) {
 | 
	
		
			
				|  |  | +		if (global_var.dimensions == 0) {
 | 
	
		
			
				|  |  | +			global_var.value = 'A';
 | 
	
		
			
				|  |  | +		}
 | 
	
		
			
				|  |  | +		if (global_var.dimensions == 1) {
 | 
	
		
			
				|  |  | +			global_var.value = ['A', 'A'];
 | 
	
		
			
				|  |  | +		}
 | 
	
		
			
				|  |  | +		if (global_var.dimensions == 2) {
 | 
	
		
			
				|  |  | +			global_var.value = [['A', 'A'], ['A', 'A']];
 | 
	
		
			
				|  |  | +		}
 | 
	
		
			
				|  |  | +	}
 | 
	
		
			
				|  |  | +	registerSystemEvent(global_var.name, ActionTypes.CHANGE_GLOBAL_VALUE, global_var.name,
 | 
	
		
			
				|  |  |  		global_var.value);
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -171,6 +183,10 @@ function addGlobalColumnVector (global_var) {
 | 
	
		
			
				|  |  |  	if (global_var.type == Types.BOOLEAN) {
 | 
	
		
			
				|  |  |  		global_var.value.push(true);
 | 
	
		
			
				|  |  |  	}
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +	if (global_var.type == Types.CHAR) {
 | 
	
		
			
				|  |  | +		global_var.value.push(LocalizedStrings.getUI('charvar_default_value'));
 | 
	
		
			
				|  |  | +	}
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  function removeColumnGlobalMatrix (global_var) {
 | 
	
	
		
			
				|  | @@ -208,6 +224,11 @@ function addColumnGlobalMatrix (global_var) {
 | 
	
		
			
				|  |  |  			global_var.value[i].push(true);
 | 
	
		
			
				|  |  |  		}
 | 
	
		
			
				|  |  |  	}
 | 
	
		
			
				|  |  | +	if (global_var.type == Types.CHAR) {
 | 
	
		
			
				|  |  | +		for (var i = 0; i < global_var.rows; i++) {
 | 
	
		
			
				|  |  | +			global_var.value[i].push(LocalizedStrings.getUI('charvar_default_value'));
 | 
	
		
			
				|  |  | +		}
 | 
	
		
			
				|  |  | +	}
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  function removeLineGlobalMatrix (global_var) {
 | 
	
	
		
			
				|  | @@ -252,6 +273,14 @@ function addLineGlobalMatrix (global_var) {
 | 
	
		
			
				|  |  |  		}
 | 
	
		
			
				|  |  |  		global_var.value.push(n_l);
 | 
	
		
			
				|  |  |  	}
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +	if (global_var.type == Types.CHAR) {
 | 
	
		
			
				|  |  | +		var n_l = [];
 | 
	
		
			
				|  |  | +		for (i = 0; i < global_var.columns; i++) {
 | 
	
		
			
				|  |  | +			n_l.push(LocalizedStrings.getUI('charvar_default_value'));
 | 
	
		
			
				|  |  | +		}
 | 
	
		
			
				|  |  | +		global_var.value.push(n_l);
 | 
	
		
			
				|  |  | +	}
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  function alternateBooleanGlobalMatrixValue (global_var, row, index, value_container) {
 | 
	
	
		
			
				|  | @@ -734,6 +763,8 @@ function enableGlobalValueUpdate (global_var, parent_node) {
 | 
	
		
			
				|  |  |  			} else{
 | 
	
		
			
				|  |  |  				if (global_var.type == Types.INTEGER) {
 | 
	
		
			
				|  |  |  					global_var.value = parseInt(input_field.val().trim());
 | 
	
		
			
				|  |  | +				} else if (var_obj.type == Types.CHAR) {
 | 
	
		
			
				|  |  | +					var_obj.value = input_field.val().charAt(0);
 | 
	
		
			
				|  |  |  				} else {
 | 
	
		
			
				|  |  |  					global_var.value = input_field.val().trim();
 | 
	
		
			
				|  |  |  				}
 | 
	
	
		
			
				|  | @@ -776,6 +807,8 @@ function enableGlobalValueUpdate (global_var, parent_node) {
 | 
	
		
			
				|  |  |  				} else {
 | 
	
		
			
				|  |  |  					if (global_var.type == Types.INTEGER) {
 | 
	
		
			
				|  |  |  						global_var.value = parseInt(input_field.val().trim());
 | 
	
		
			
				|  |  | +					} else if (var_obj.type == Types.CHAR) {
 | 
	
		
			
				|  |  | +						var_obj.value = input_field.val().charAt(0);
 | 
	
		
			
				|  |  |  					} else {
 | 
	
		
			
				|  |  |  						global_var.value = input_field.val().trim();
 | 
	
		
			
				|  |  |  					}
 |