equal
deleted
inserted
replaced
3730 message = "Invalid value \"%s\" for location"%data |
3730 message = "Invalid value \"%s\" for location"%data |
3731 values = None |
3731 values = None |
3732 if values is not None and values[1] == "location": |
3732 if values is not None and values[1] == "location": |
3733 location = values[0] |
3733 location = values[0] |
3734 variable_type = self.ParentWindow.Table.GetValueByName(row, "Type") |
3734 variable_type = self.ParentWindow.Table.GetValueByName(row, "Type") |
3735 base_type = self.ParentWindow.Controler.GetBaseType(variable_type, self.Debug) |
3735 base_type = self.ParentWindow.Controler.GetBaseType(variable_type) |
3736 message = None |
3736 message = None |
3737 if location.startswith("%"): |
3737 if location.startswith("%"): |
3738 if base_type != values[2]: |
3738 if base_type != values[2]: |
3739 message = "Incompatible data types between \"%s\" and \"%s\""%(values[2], variable_type) |
3739 message = "Incompatible data types between \"%s\" and \"%s\""%(values[2], variable_type) |
3740 else: |
3740 else: |