# Syntax error on(s), misplaced construct(s)

**URL:** <https://discourse.processing.org/t/syntax-error-on-s-misplaced-construct-s/23446>\
**Category:** Processing\
**Created:** [August 23, 2020, 7:16pm UTC](https://discourse.processing.org/t/syntax-error-on-s-misplaced-construct-s/23446 "2020-08-23T19:16:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![shaymin-le-dev](https://avatars.discourse-cdn.com/v4/letter/s/73ab20/32.png) [@shaymin-le-dev](https://discourse.processing.org/u/shaymin-le-dev)\
**Post date:** [August 23, 2020, 7:16pm UTC](https://discourse.processing.org/t/syntax-error-on-s-misplaced-construct-s/23446/1 "2020-08-23T19:16:21Z")

</div>

Hello i have this error: Syntax error on(s), misplaced construct(s) when I want to start this code:

```auto
import static javax.swing.JOptionPane.*;
String snto = "55";
snto = showInputDialog("enter the number of faces");

```

I have no idea where it comes from,

thanks in advance!  
(and sorry for my bad english i’m French).
