# Vector Subscripts Tutorial

**URL:** <https://fortran-lang.discourse.group/t/vector-subscripts-tutorial/4002>\
**Category:** Tutorials\
**Created:** [July 15, 2022, 12:03am UTC](https://fortran-lang.discourse.group/t/vector-subscripts-tutorial/4002 "2022-07-15T00:03:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![everythingfunctional](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/everythingfunctional/32/176_2.png) [@everythingfunctional](https://fortran-lang.discourse.group/u/everythingfunctional)\
**Post date:** [July 15, 2022, 12:03am UTC](https://fortran-lang.discourse.group/t/vector-subscripts-tutorial/4002/1 "2022-07-15T00:03:07Z")

</div>

[![](https://global.discourse-cdn.com/free1/uploads/fortran_lang/original/2X/f/ff8532523672c358d09eeb09ffb3122a8571447b.jpeg "Vector Subscripts For Fortran Array Access") ](https://www.youtube.com/watch?v=qskOZLs_Prg)

---

<div class="post-metadata">

**Author:** ![epagone](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/epagone/32/252_2.png) [@epagone](https://fortran-lang.discourse.group/u/epagone)\
**Post date:** [July 15, 2022, 5:26pm UTC](https://fortran-lang.discourse.group/t/vector-subscripts-tutorial/4002/2 "2022-07-15T17:26:29Z")

</div>

Nice. Why weren’t you using fpm (you just needed `fpm run` after each edit) in the first part of the video? 😝

---

<div class="post-metadata">

**Author:** ![everythingfunctional](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/everythingfunctional/32/176_2.png) [@everythingfunctional](https://fortran-lang.discourse.group/u/everythingfunctional)\
**Post date:** [July 15, 2022, 6:21pm UTC](https://fortran-lang.discourse.group/t/vector-subscripts-tutorial/4002/3 "2022-07-15T18:21:46Z")

</div>

For simple, one file programs I find the boiler-plate/overhead of fpm to be unnecessary. Sure, I could have used fpm, but then there’d be questions of “what’s all that other stuff in the project?” from those unfamiliar with fpm.

---

<div class="post-metadata">

**Author:** ![epagone](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/epagone/32/252_2.png) [@epagone](https://fortran-lang.discourse.group/u/epagone)\
**Post date:** [July 15, 2022, 6:33pm UTC](https://fortran-lang.discourse.group/t/vector-subscripts-tutorial/4002/4 "2022-07-15T18:33:58Z")

</div>

As you wish, I personally don’t think it would have been a problem. Also, I’d note that in the quicksort part, there’s more boilerplate than 3 files

```nohighlight
$ fpm new tutorial --app
 + mkdir -p tutorial
 + cd tutorial
 + mkdir -p tutorial/app
 + git config --get user.name > /tmp/filesbcXPE
 + git config --get user.email > /tmp/fileRl9ZCF
 + git config --get user.name > /tmp/file4iF7jD
 + git init tutorial
Initialised empty Git repository
fpm: Leaving directory '/home'
$ cd tutorial/
$ tree
.
├── app
│ └── main.f90
├── fpm.toml
└── README.md

1 directory, 3 files

```
