# What's wrong with the 'while' line which is "missing comma or )"?

**URL:** https://discourse.julialang.org/t/whats-wrong-with-the-while-line-which-is-missing-comma-or/41537
**Category:** General Usage
**Created:** [June 16, 2020, 5:41pm UTC](https://discourse.julialang.org/t/whats-wrong-with-the-while-line-which-is-missing-comma-or/41537 "2020-06-16T17:41:54Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![reb](https://avatars.discourse-cdn.com/v4/letter/r/51bf81/32.png) [@reb](https://discourse.julialang.org/u/reb)
#### Post date: [June 16, 2020, 5:41pm UTC](https://discourse.julialang.org/t/whats-wrong-with-the-while-line-which-is-missing-comma-or/41537/1 "2020-06-16T17:41:54Z")

</div>

arr = [“6”,“-”,“2”," “,“6=”,”-“,“3”]  
lenarr = 7  
println(“arr=”,arr,” lenarr=",lenarr)  
i = 1  
while (((arr[i] == " ") or (arr[i] == “\t”)) and (i \< lenarr))  
i = i + 1  
end  
firstindex = i

---

<div class="post-metadata">

### Author: ![rdeits](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rdeits/32/286_2.png) [@rdeits](https://discourse.julialang.org/u/rdeits)
#### Post date: [June 16, 2020, 5:46pm UTC](https://discourse.julialang.org/t/whats-wrong-with-the-while-line-which-is-missing-comma-or/41537/2 "2020-06-16T17:46:19Z")

</div>

`or` and `and` are not keywords in Julia. You need `||` and `&&`.

Also, it will be easier to read your code and therefore easier to help you if you quote it by following the instructions at: [PSA: how to quote code with backticks](https://discourse.julialang.org/t/psa-how-to-quote-code-with-backticks/7530)
