Page 1 of 1
String const via the command line?
Posted: Wed Nov 01, 2017 7:26 pm
by SamuraiCrow
Is there a way to define a constant of string type in version 7 of Hollywood? I see that numerical constant definition is possible but I want to pass in a base path for an include directory.
Re: String const via the command line?
Posted: Mon Nov 06, 2017 7:48 pm
by airsoftsoftwair
No, looks like this isn't currently implemented. I can add this for the next update, not a big deal.
Re: String const via the command line?
Posted: Tue Nov 07, 2017 10:26 am
by SamuraiCrow
Thanks, that will help a lot!
Re: String const via the command line?
Posted: Tue Nov 07, 2017 8:27 pm
by airsoftsoftwair
Code: Select all
- New: SETCONSTANTS also allows you to define string constants now; just enclose the string between
two square brackets [...]; if you need to include square brackets themselves, escape them by
duplicating them, i.e. use [[ and ]]