# Error CS0103 when using OR operator with variables

**URL:** https://community.linx.software/community/t/error-cs0103-when-using-or-operator-with-variables/333
**Category:** Bug
**Created:** [October 3, 2018, 11:13am UTC](https://community.linx.software/community/t/error-cs0103-when-using-or-operator-with-variables/333 "2018-10-03T11:13:03Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Nem](https://community.linx.software/community/letter_avatar_proxy/v4/letter/n/85e7bf/32.png) [@Nem](https://community.linx.software/community/u/Nem)
#### Post date: [October 3, 2018, 11:13am UTC](https://community.linx.software/community/t/error-cs0103-when-using-or-operator-with-variables/333/1 "2018-10-03T11:13:03Z")

</div>

Hi,

We are trying to use the expression editor with a conditional or operator and we get an error when we use a value from previous Linx process.

Our value is “lib\_GetFileDetailsByWOID.CFFormatID” and it’s value is an integer outputted from another process called “lib\_GetFileDetailsByWOID”.

_i.e. In the Expression Editor:_  
`lib_GetFileDetailsByWOID.CFFormatID==9`  
**Returns a True/ False value**

```
lib_GetFileDetailsByWOID.CFFormatID==9||1==1

```

**Returns a True/ False value**

_When we try to use the lib\_GetFileDetailsByWOID.CFFormatID twice_  
`lib_GetFileDetailsByWOID.CFFormatID==9||lib_GetFileDetailsByWOID.CFFormatID==8`  
**An error has occurred:**  
(241,62): error CS0103: The name ‘lib\_GetFileDetailsByWOID\_46CFFormatID\_17915585’ does not exist in the current context

Are we doing something wrong here, please assist?

---

<div class="post-metadata">

### Author: ![Dawie\_Botes](https://community.linx.software/community/user_avatar/community.linx.software/dawie_botes/32/288_2.png) [@Dawie\_Botes](https://community.linx.software/community/u/Dawie_Botes)
#### Post date: [October 3, 2018, 11:24am UTC](https://community.linx.software/community/t/error-cs0103-when-using-or-operator-with-variables/333/2 "2018-10-03T11:24:48Z")

</div>

Hi Nem,

I’ll try and replicate. Can you please load a Zendesk ticket. Then we can trace the resolution.

Regards,  
Dawie

---

<div class="post-metadata">

### Author: ![Dawie\_Botes](https://community.linx.software/community/user_avatar/community.linx.software/dawie_botes/32/288_2.png) [@Dawie\_Botes](https://community.linx.software/community/u/Dawie_Botes)
#### Post date: [October 3, 2018, 11:55am UTC](https://community.linx.software/community/t/error-cs0103-when-using-or-operator-with-variables/333/3 "2018-10-03T11:55:59Z")

</div>

Hi Nem,

I did an example and am not getting the same error. I’ve attached my solution where I tried to get the error, but it worked.

Could you send the solution on Zendesk then I can dig deeper?

Dawie

[OrErrorOv.lsoz](https://community.linx.software/uploads/default/original/1X/5fff5c915721e98576e05669013da567c989cd1a.lsoz) (5.2 KB)

---

<div class="post-metadata">

### Author: ![Nem](https://community.linx.software/community/letter_avatar_proxy/v4/letter/n/85e7bf/32.png) [@Nem](https://community.linx.software/community/u/Nem)
#### Post date: [October 3, 2018, 3:16pm UTC](https://community.linx.software/community/t/error-cs0103-when-using-or-operator-with-variables/333/4 "2018-10-03T15:16:32Z")

</div>

Hi,  
I can reproduce it.  
I will send you an LSO. I can’t upload attachments on here because I am a “new user”.

---

<div class="post-metadata">

### Author: ![Dawie\_Botes](https://community.linx.software/community/user_avatar/community.linx.software/dawie_botes/32/288_2.png) [@Dawie\_Botes](https://community.linx.software/community/u/Dawie_Botes)
#### Post date: [October 3, 2018, 5:45pm UTC](https://community.linx.software/community/t/error-cs0103-when-using-or-operator-with-variables/333/5 "2018-10-03T17:45:50Z")

</div>

Thank you Nem, I could reproduce the issue. Was a known issue in v5.13. This has now been solved in v5.14.

Regards,  
Dawie

---

<div class="post-metadata">

### Author: ![Nem](https://community.linx.software/community/letter_avatar_proxy/v4/letter/n/85e7bf/32.png) [@Nem](https://community.linx.software/community/u/Nem)
#### Post date: [October 4, 2018, 7:34am UTC](https://community.linx.software/community/t/error-cs0103-when-using-or-operator-with-variables/333/6 "2018-10-04T07:34:24Z")

</div>

Thank you Dawie - we’re upgrading this month!
