Hi Paul
Are variables supposed to work with the Sub function?
I have a collection of individual buttons I need to use and would like to choose them from a list. I can choose the button using the {LIST} function like this:
{Var11 List C: Fine,C: Foreclose Atty Fee,C: Interest,C: Late Fee,C: Lien,C: NSF Fee,C: Payment,C: Payment Qrtly,C: Pre Lien Fee,C: Qtrly Maint Fee,C: Write Off,Rev Additional Fee,Rev Annual Fee,Rev ELWCA,Rev Fclose Atty Fee,Rev Fine,Rev Interest,Rev Late Fee,Rev Line,Rev NSF Fee,Rev Payment,Rev Pre Lien Fee,Rev Qtrly Main Fee,Rev Refuse,Rev Rsrv-Contngncy,Rev Rsrv-Paving,Rev Rsrv-St/Walk}
I can type the button name so I know {Var11} is getting set to the correct button name.
I’m trying to press the selected button with {Sub HOA Stuff,{Var11}} but I cannot seem to get the selected button to work. TypeItIn does not recognize this use of the {SUB} function.
Using TypeItIn Professional 3.1. Thanks for any insight you can share.
Using Variables with the {SUB} Function
Re: Using Variables with the {SUB} Function
Unfortunately the Sub function does not currently support variables.
This will be fixed in the next (beta)version.
A work around is using the IF function on the LIST result.
{If (Var11=C: Fine) [{Sub HOA Stuff,C: Fine}]}
{If (Var11=C: Foreclose Atty Fee) [{Sub HOA Stuff,C: Foreclose Atty Fee}]}
Paul.
This will be fixed in the next (beta)version.
A work around is using the IF function on the LIST result.
{If (Var11=C: Fine) [{Sub HOA Stuff,C: Fine}]}
{If (Var11=C: Foreclose Atty Fee) [{Sub HOA Stuff,C: Foreclose Atty Fee}]}
Paul.
-
- Posts: 7
- Joined: Wed Aug 07, 2019 7:02 am
Re: Using Variables with the {SUB} Function
Paul
Thank you for the reply.
Thank you for the reply.
Re: Using Variables with the {SUB} Function
The beta version is now available at https://www.wavget.com/download/beta/