Barcode.GetOption
-----------------

Queries option by index.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Barcode](component_Barcode.md) | [8.1](newinversion81.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "Barcode.GetOption"; Index ) 

**MBS**( **"Barcode.GetOption";** /\* Queries option by index. \*/  
**$Index**) /\* The index of the option.  
Can be 1, 2 or 3.e.g. 2 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Index | The index of the option.   Can be 1, 2 or 3. | 2 |

### Result

Returns value or error.

### Description

Queries option by index.  
### Examples

Try to set and get option:

 Set Variable \[ $r ; Value: MBS ( "[Barcode.SetOptions](BarcodeSetOptions.md)" ; 3; 20 ) \]   
Set Variable \[ $Option ; Value: MBS ( "Barcode.GetOption"; 2 ) \]  
### See also

- [Barcode.SetOption](BarcodeSetOption.md)
- [Barcode.SetOptions](BarcodeSetOptions.md)

### Release notes

- **Version 8.1**
    - Added [Barcode.GetInputMode](http://www.mbsplugins.eu/BarcodeGetInputMode.shtml), [Barcode.GetOption](http://www.mbsplugins.eu/BarcodeGetOption.shtml), [Barcode.SetInputMode](http://www.mbsplugins.eu/BarcodeSetInputMode.shtml) and [Barcode.SetOption](http://www.mbsplugins.eu/BarcodeSetOption.shtml).

### Blog Entries

- [MBS FileMaker Plugin, version 8.1pr5](https://www.mbsplugins.de/archive/2018-02-26/MBS_FileMaker_Plugin_version_8/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 23th February 2018 , last changed 13th January 2021

  
[Barcode.GetInputMode](BarcodeGetInputMode.md) - [Barcode.GetPrimary](BarcodeGetPrimary.md)

[HTML Version](BarcodeGetOption.shtml)