@Override
	public SXLValue castInto(String type) throws Exception {
		switch( type ) {
			case "string": return new SXLString( (value)? "true" : "false" );
			case "boolean": return new SXLBoolean( value );
			case "integer": return new SXLInteger( (value)? 1 : 0 );
			case "real" : return new SXLReal( (value)? 1.0 : 0.0 );
			case "character" : return new SXLCharacter( (value)? 't' :'f' );
			default: throw new Exception("Cannot cast boolean into " + type);
		}
	}