# Avoid issue with iterator error bounds in Wolfram Cloud?

**URL:** <https://community.wolfram.com/t/avoid-issue-with-iterator-error-bounds-in-wolfram-cloud/13016>\
**Category:** Questions\
**Tags:** mathematica, wolfram-cloud\
**Created:** [August 27, 2018, 2:14pm UTC](https://community.wolfram.com/t/avoid-issue-with-iterator-error-bounds-in-wolfram-cloud/13016 "2018-08-27T14:14:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dlopezaguayo](https://avatars.discourse-cdn.com/v4/letter/d/6a8cbe/32.png) [@dlopezaguayo](https://community.wolfram.com/u/dlopezaguayo)\
**Post date:** [August 27, 2018, 2:14pm UTC](https://community.wolfram.com/t/avoid-issue-with-iterator-error-bounds-in-wolfram-cloud/13016/1 "2018-08-27T14:14:41Z")

</div>

Hello, I’ve written a program in Mathematica which asks the user (so Input) the values of n,a,b,c; these are stored. The program runs fine in Mathematica but it doesn’t work when I upload it to the Cloud.

Then I define the following two lines:

```
l[t_]:=(-a*t - 100*c + 7000)/b; 

g=Table[Table[{q,y},{y,Ceiling[(7000-a*n-b*q)/c],100}],{q,Ceiling[l[n]],100}];

```

Note that a,b,c and n are defined so the indices are numeric.

However, the cloud’s output is:

```
Table:Iterator{q,Ceiling[(1/30)(7000-119Null)],100} does not have appropriate bounds.

```

How can I correct this? I have no problem in Mathematica, just when executing online from the Cloud.

---

<div class="post-metadata">

**Author:** ![danl](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/danl/32/41267_2.png) [@danl](https://community.wolfram.com/u/danl)\
**Post date:** [August 27, 2018, 3:57pm UTC](https://community.wolfram.com/t/avoid-issue-with-iterator-error-bounds-in-wolfram-cloud/13016/2 "2018-08-27T15:57:02Z")

</div>

Might be because `at` for example, is a symbol and not the same thing as `a*t` (or `a t`, note the space for implied multiplication). Also some variable assignment might have gone awry (giving rise to the `Null`).

---

<div class="post-metadata">

**Author:** ![dlopezaguayo](https://avatars.discourse-cdn.com/v4/letter/d/6a8cbe/32.png) [@dlopezaguayo](https://community.wolfram.com/u/dlopezaguayo)\
**Post date:** [August 27, 2018, 4:23pm UTC](https://community.wolfram.com/t/avoid-issue-with-iterator-error-bounds-in-wolfram-cloud/13016/3 "2018-08-27T16:23:02Z")

</div>

Hi Daniel, thanks for your reply. I indeed wrote a\*t.

Any other idea?
