# Syntax issues with "add"

**URL:** <https://forum.kirupa.com/t/syntax-issues-with-add/178880>\
**Category:** flash\
**Created:** [February 15, 2006, 12:24am UTC](https://forum.kirupa.com/t/syntax-issues-with-add/178880 "2006-02-15T00:24:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![PaintedSwan](https://avatars.discourse-cdn.com/v4/letter/p/90db22/32.png) [@PaintedSwan](https://forum.kirupa.com/u/PaintedSwan)\
**Post date:** [February 15, 2006, 12:24am UTC](https://forum.kirupa.com/t/syntax-issues-with-add/178880/1 "2006-02-15T00:24:00Z")

</div>

Hey all 🙂

I’m trying to translate a file that was done in Flash 7 in Actionscript 1 to Flash 8, but it’s giving me a heck of a time with some of the syntax…and yet despite all my researching on what the _correct_ syntax would be, I’ve found nothing. If anyone knows what I have to change here, that would be very helpful.

```auto

**Error** Scene=Scene 1, layer=action, frame=4:Line 4: ')' or ',' expected
      duplicateMovieClip("m0", "m" add i, i);
**Error** Scene=Scene 1, layer=action, frame=4:Line 5: ']' expected
      mask = this["m" add i];
**Error** Symbol=randomize_squares, layer=Layer 1, frame=3:Line 3: Syntax error.
     target_square= "_parent.m" add mask_array* add ".image";

```

[FONT=Courier New][LEFT]  
[/LEFT]

[/FONT]
