Hi jzakiya,

you simply can not use brackets within your constant-name. Here is the BNF 
which literals are allowed:

[https://nim-lang.org/docs/manual.html#lexical-analysis-numerical-constants](https://nim-lang.org/docs/manual.html#lexical-analysis-numerical-constants)

As long as your tuple have no field names you can access the tuples fields with 
the index operator []
    
    
    const tconst = genPGparameters(11)
    
    echo tconst[0]
    # access the tuples fields with the index operator
    echo tconst[1]
    for item in tconst[2].pairs:
      echo $item
    echo tconst[3]
    

Reply via email to