Commas in stack names
J. Landman Gay
jacque at hyperactivesw.com
Tue Nov 5 17:40:16 EST 2013
On 11/5/13 4:19 PM, Monte Goulding wrote:
> On 06/11/2013, at 9:10 AM, J. Landman Gay wrote:
>> Is there a reason a stack name can't include a comma? The engine
>> replaces them with underscores.
>> I know Windows doesn't like file names with commas, but this is
>> about the stack name. The automatic replacement is wreaking havoc
>> with my scripts. I don't have any control over what the stack is
>> named, so I can't just remove the commas.
> Hmm... how did they get comma in the first place if it's the engine
> automatically replacing it?
I have a tool that builds stacks. The stack name is pulled from a text
file, and sometimes the name has a comma. We can't change that. When the
build tool sets the stack name, the engine replaces commas with underscores.
The standalone that runs these stacks tries to go to a stack of the
original name, pulled from a display list, but it is no longer valid
because the engine changed it and navigation fails. So I have a bunch of
fixing to do.
So I'm wondering why stacks can't have commas in their names. Cards can.
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the Use-livecode