String const via the command line?
-
- Posts: 475
- Joined: Fri May 15, 2015 5:15 pm
- Location: Waterville, Minnesota USA
String const via the command line?
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.
I'm on registered MorphOS using FlowStudio.
- airsoftsoftwair
- Posts: 5433
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: String const via the command line?
No, looks like this isn't currently implemented. I can add this for the next update, not a big deal.
-
- Posts: 475
- Joined: Fri May 15, 2015 5:15 pm
- Location: Waterville, Minnesota USA
Re: String const via the command line?
Thanks, that will help a lot!
I'm on registered MorphOS using FlowStudio.
- airsoftsoftwair
- Posts: 5433
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: String const via the command line?
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 ]]