That does sound like a bug, but if it helps Transcript also accept comments in the form

## this is a comment

or

-- this is a comment

From the little I just played around, it looks like multiline comments sometimes confuse the script coloring, and possibly /* */ is less supported for single line comments as well.

IIRC (and I might not), "--" is the original xTalk sytax, "##" is borrowed (or similar to) other scripting languages, and /* */ is more commonly found in lower-level languages (but acceptable in most high level ones too).

Apparently Transcript has tried to keep everyone happy here, although it might have become a little odd to support 3 different comment syntaxes.

- Brian


I am having the same issue with all the text turning purple when I put /* */ in the code.

Jason

----- Original Message ----- From: "Gajo Csaba" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, August 26, 2005 5:22 AM
Subject: Two very simple questions




Hi,
I have two simple questions about Revolution.

1) I'm in the process of developing an application. I put all the buttons,
create a complex GUI, and write the Close button's script as

close stack "myStack"

OK, now I want to test if this really works. So I switch to the testing
mode, and click on the Close button, and the stack closes. Fine, it
works. But how can I bring it back??? Or maybe I've just lost all my work
because I didn't save it to a file?


2) Did anyone else notice that when you put some code between /* */
then after that the editor will write EVERYTHING in purple, even stuff
outside the comment signs, and even after you delete the comment
signs?

_______________________________________________________________________
[freemail] extra 1GB-os postafiókkal, Önnek már van? http://freemail.hu


_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution



_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to