Thanks, Monte.  With your explanation that does make sense.

I have plenty of options for doing what I need to do, so no worries on this, but it does leave me with one question:

Can the merge function be extended to support scripts interleaved between blocks of non-code?

e.g. this works in Server, and not in Merge:

     <?lc if there is a file "something" then ?>
     This is some non-code
     <?lc else ?>
     Some other non-code
     <?lc end if ?>

--
 Richard Gaskin
 Fourth World Systems

Monte wrote:
Hey guys!

This is one of my early community contributions. The server has an in tag mode 
and a not in tag mode. The shebang both tells the OS where to find the 
executable to run the script and sets enters tag mode. So:

#! /some/path

put the long date && the long time
?>FooBar

Should generate the same output as:

<?lc
put the long date && the long time
?>FooBar

You can see why this is necessary if you consider that you don’t want the 
engine to output the shebang line.

Cheers

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to