0

image

Hi everyone,

Sometimes I get an transparent x in my code that makes it run with errors. Does anyone know what this means? I've been searching for an answer but I guess I suck at searching, LOL =^).

Göran
  • 1
  • 2
    That x is not messing up your code. It is just reminding you that whitespace is interpreted as multiplication in Mathematica. You are probably trying to use newlines (i.e. whitespace) to separate several commands that are part of a larger expression. You need to use ; for that. – Szabolcs Sep 26 '17 at 13:15
  • Oh okay, that makes sense. Now I feel stupid. Thank you so much! – Göran Sep 26 '17 at 13:15
  • Newlines work at the top level to separate several inputs, but subexpressions of a larger expression are always part of the same input. – Szabolcs Sep 26 '17 at 13:16
  • @Göran No need to feel like this. We all have started somewhere. Welcome to Mathematica.StackExchange! – Henrik Schumacher Sep 26 '17 at 22:45

0 Answers0