Default value for a variable

Common questions about using Actual Installer.

Default value for a variable

Postby UFa » Wed Feb 03, 2021 2:05 pm

I use INPUTBOX to request a number to be entered by the user, which is stored in the variable <MyCnter>. If the user makes no input, the variable <MyCnter> should be filled with the default value 1.
Populating DefaultData with 1 doesn't seem to work, since I output an MSG with the variable <MyCnter> after the INPUTBOX. IF an input is made, it shows up in the MSG output as well.
What am I doing wrong or have I not understood?
Thanks for any support.

Regards,
Uli
UFa
 
Posts: 2
Joined: Tue Dec 08, 2020 10:09 am

Re: Default value for a variable

Postby Leo » Sat Feb 13, 2021 12:54 pm

When using MSG in the Default Data field, add [x], where x - it's a default data.
Leo,
Actual Installer Team
http://www.actualinstaller.com
Leo
Site Admin
 
Posts: 365
Joined: Fri Jan 22, 2010 12:40 pm


Return to General Discussions

Who is online

Users browsing this forum: No registered users and 4 guests

cron