Hi, parentheses are mandatory in the let term. So, you should write let ($x=input) in tmp:=$x +$x endlet BTW, we moved Asmeta to github: https://github.com/asmeta/asmeta You may want to use the new repository. Best, Paolo
Hi, if you are using a Sequence, you can get i-th element using the "at" function of the standard library: static at: Prod(Seq(D),Natural) -> D See this ASM model as an example: https://github.com/asmeta/asmeta/blob/master/asm_examples/examples/simple_example/swapSortOnSeq.asm Best, Paolo