What is the difference between a ' and a " ?

Troy Rollins troy at rpsystems.net
Sat Jun 26 10:31:04 EDT 2004


On Jun 26, 2004, at 1:37 AM, Richard Gaskin wrote:

> > Those, and the quoted variable names (which are required on occasion)
> > you get both of those instances in a single script and you wonder if
> > gravity is going to give out too.
>
> When is a variable required to be quoted?

In a few cases, but generally when handed as a parameter to some 
specific libraries... videoGrabber for sure, Database too IIRC.

OR even worse, the syntax for "send."

send "myHandler myVar" -- BOTH the function, and parameters, (a 
variable) encapsulated in the same set of quotes. That is hideous.

So I'll extend it out, and say that anything not quoted should not be 
considered a string, and anything which is, should be. In other words, 
if it is quoted, it should be a string literal.

> The version number is artificially low because Scott Raney, who 
> stewarded the engine for most of its life, is extremely modest with 
> version numbers.  He's had very major releases introducing a great 
> many powerful new features and even a file format change that in his 
> mind only warranted a dot release.  His coding is some of the finest 
> I've ever worked with, but he'd be the first to admit his genius 
> doesn't extend to marketing. :)

Oh, no argument that the engine is powerful and impressive... and huge. 
I have great respect for the engine, and RunRev's attempts to harness 
it.

>
> The engine was born in 1992 on Unix, ported to Win32 in the mid-90s 
> and to Mac in the late 90s.  While the engine version is numbered only 
> 2.6, if it was an Adobe or Macromedia product it would be called 10.0. 
> ;)

Well, the engine, perhaps... but they'd probably call the combined 
engine and IDE... "R&D". It is simply miles away from the finish, 
polish, and stability of their v10 products. Doesn't make it without 
its uses...
--
Troy
RPSystems, Ltd.
http://www.rpsystems.net



More information about the use-livecode mailing list