Matrix.RemoveRow
----------------

Removes a row.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Matrix](component_Matrix.md) | [9.2](newinversion92.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "Matrix.RemoveRow"; MatrixRef; Row ) 

**MBS**( **"Matrix.RemoveRow";** /\* Removes a row. \*/  
**$MatrixRef**; /\* The matrix reference number.e.g. $matrix \*/   
**$Row**) /\* The zero based row number.e.g. 2 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| MatrixRef | The matrix reference number. | $matrix |
| Row | The zero based row number. | 2 |

### Result

Returns OK or error.

### Description

Removes a row.  
### Examples

Remove a row:

 Set Variable \[ $r ; Value: MBS ( "Matrix.RemoveRow"; $matrix ; 2 ) \]  
### See also

- [Matrix.GetValue](MatrixGetValue.md)
- [Matrix.SetColumnNames](MatrixSetColumnNames.md)

### Blog Entries

- [CSV in FileMaker with MBS FileMaker Plugin](https://www.mbsplugins.de/archive/2022-10-11/CSV_in_FileMaker_with_MBS_File/monkeybreadsoftware_blog_filemaker)
- [Import CSV with Matrix functions](https://www.mbsplugins.de/archive/2020-11-20/Import_CSV_with_Matrix_functio/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 8th April 2019 , last changed 17th December 2019

  
[Matrix.RemoveColumn](MatrixRemoveColumn.md) - [Matrix.Resize](MatrixResize.md)

[HTML Version](MatrixRemoveRow.shtml)