String const via the command line?

Discuss any general programming issues here
Post Reply
SamuraiCrow
Posts: 475
Joined: Fri May 15, 2015 5:15 pm
Location: Waterville, Minnesota USA

String const via the command line?

Post 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.
I'm on registered MorphOS using FlowStudio.
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: String const via the command line?

Post by airsoftsoftwair »

No, looks like this isn't currently implemented. I can add this for the next update, not a big deal.
SamuraiCrow
Posts: 475
Joined: Fri May 15, 2015 5:15 pm
Location: Waterville, Minnesota USA

Re: String const via the command line?

Post by SamuraiCrow »

Thanks, that will help a lot!
I'm on registered MorphOS using FlowStudio.
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: String const via the command line?

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