# Syntax error of getindex in my code

**URL:** <https://discourse.julialang.org/t/syntax-error-of-getindex-in-my-code/29039>\
**Category:** New to Julia\
**Tags:** homework\
**Created:** [September 22, 2019, 10:32am UTC](https://discourse.julialang.org/t/syntax-error-of-getindex-in-my-code/29039 "2019-09-22T10:32:59Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [September 22, 2019, 12:06pm UTC](https://discourse.julialang.org/t/syntax-error-of-getindex-in-my-code/29039/7 "2019-09-22T12:06:45Z")

</div>

This is the second topic from you that [looks like](https://discourse.julialang.org/t/makeanagram-there-is-an-error-that-i-cannot-find-in-my-code/29032) homework.

It is fine to ask about homework here, but please check our (currently informal) [homework policy](https://discourse.julialang.org/t/homework-policy/2342/17), and invest some time in learning the basics of the language first, otherwise your experience with Julia may be needlessly frustrating. If your course has a TA, that person could also be a valuable resource.

---

_[View the full topic](https://discourse.julialang.org/t/syntax-error-of-getindex-in-my-code/29039)._
