Question about LET# and TVAR variable

  1. Can variables defined by LET# and TVAR be used together? e.g.
    LET#a 1
    TVAR ‘b’ 2

TVAR ‘c’ ‘#a+b’
LET#d #a+‘b’

  1. The PRT# can print value of variable defined by LET#. Is there a similar command for TVAR?

Hello,

  1. Yes you can combine variables defined by LET# and TVAR

  2. You can use the PRT# command for a TVAR as well.
    Apart from that you can use the commands TXB or TXE.

As an example you can try this code:

LET#value 1
prt#value

TVAR "help" 5
PRT#help
TXB #help
TXE #help

TVAR "LF" 6
TVAR "Formel" "=#value+5*#LF"
PRT#Formel

Best regards
Frederik Höller
Your SOFiSTiK Support Team

1 Like