String const via the command line?

Discuss any general programming issues here
Post Reply
SamuraiCrow
Posts: 146
Joined: Fri May 15, 2015 5:15 pm
Location: Ft. Collins, Colorado USA

String const via the command line?

Post by SamuraiCrow » Wed Nov 01, 2017 8:26 pm

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.

User avatar
airsoftsoftwair
Posts: 2506
Joined: Fri Feb 12, 2010 3:33 pm
Location: Germany
Contact:

Re: String const via the command line?

Post by airsoftsoftwair » Mon Nov 06, 2017 8:48 pm

No, looks like this isn't currently implemented. I can add this for the next update, not a big deal.

SamuraiCrow
Posts: 146
Joined: Fri May 15, 2015 5:15 pm
Location: Ft. Collins, Colorado USA

Re: String const via the command line?

Post by SamuraiCrow » Tue Nov 07, 2017 11:26 am

Thanks, that will help a lot!

User avatar
airsoftsoftwair
Posts: 2506
Joined: Fri Feb 12, 2010 3:33 pm
Location: Germany
Contact:

Re: String const via the command line?

Post by airsoftsoftwair » Tue Nov 07, 2017 9:27 pm

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 ]]

Post Reply