Spaces in variable names?

Posted on
Thu May 20, 2004 7:02 pm
gregjsmith offline
Posts: 946
Joined: Apr 01, 2003
Location: Rio Rancho, NM

Spaces in variable names?

Indigo won't let you put a space in a variable if you manually type it in but it can if you do it in a Applescript. Which way is the right way?

Posted on
Thu May 20, 2004 7:17 pm
matt (support) offline
Site Admin
User avatar
Posts: 21417
Joined: Jan 27, 2003
Location: Texas

Re: Spaces in variable names?

gregjsmith wrote:
Indigo won't let you put a space in a variable if you manually type it in but it can if you do it in a Applescript. Which way is the right way?

No space would be ideal. In a future version (hint-hint), you might be able to do variable substitutions in various places, like emails. This becomes less cumbersome if spaces are not allowed. Example email body:

The house is now in $currentSecurtyMode mode.

If spaces were allowed it would get a bit confusing. I'll add an AppleScript failure case for when spaces are detected in variable names.

Regards,
Matt

Posted on
Thu May 20, 2004 8:02 pm
gregjsmith offline
Posts: 946
Joined: Apr 01, 2003
Location: Rio Rancho, NM

Re: Spaces in variable names?

support wrote:
I'll add an AppleScript failure case for when spaces are detected in variable names.


Yup, I think that's the best thing to do.

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 26 guests

cron