Variable text duration not working

Hi
I would present a list of words. Each word should stay on screen for a variable length of time.
In builder I referenced to an excel file: $myT. When I run the experiment I get the following error message:

if tThisFlipGlobal > text_3.tStartRefresh + asarray($myT)-frameTolerance:
^
SyntaxError: invalid syntax

Experiment ended.

I tried different variable names and I also integrated the float function: $float(myT)…
Has anybody an idea what I’m doing wrong?

Your Excel column should be titled myT and referenced without the dollar sign in your code component. The dollar sign is used to tell a non-code component to treat the following as code.

Great! Thank you so much!