
Wolfie
Canada
Asked
— Edited
I have found a little bug that is in many of the EZ-Script Functions Examples If i use the Examples from the list i get the following error message
Error on line 1: Missing String Quotes or Invalid Expression:
Example: ("") dont work Example: ("") does work
The quotes that are in the Examples don't work and i cant seem to find them on my key board at all But the ones that are on my key board do work
This is the first time I've seen anyone report a problem with copying and pasting and hundreds of users have copied and pasted my ping roam script from pastebin, quite a few more direct from the forum.
Use the code tags to enclose code when posting code. Of course copying and pasting the example outside of the code tag will not work since it ends with a
which is invalid syntax.
Again, where is the example you are copying? Is it a forum post? Is it on the EZ-Script Manual page?
I was from the EZ-Script manual in ARC
I wasn't aware you could even select the text in that version of the manual, I know you didn't used to be able to I guess DJ changed it.
To be honest though, you shouldn't need to copy and paste any of the examples, they will largely be useless to your project. If you want examples to use or adapt in your project check the examples folder in ARC. The EZ-Script manual is meant for reference not for copying and pasting.
Now it's clear where you are copying from it's likely DJ can solve the small bug however I wouldn't feel right without pointing out that you should always check for correct formatting when copying from anywhere. Copying from the forums can sometimes result in "SmileyFace" being inserted into code, copying from anywhere can also insert line breaks into code which should not be there but whatever you are copying from has placed in there for formatting.
You can select and copy any thing from most any where Ctrl C Ctrl A Ctrl V Works every time Right clicks don't always work but ctrl keys do
I am aware of the shortcut keys. I was saying that you couldn't select the text previously but that has changed in one of the updates.
but as previously mentioned, when copying and pasting from different environments it's wise to check for formatting differences to ensure correct syntax. When printing the EZ-Script manual to PDF (before it was available online) I noticed a lot of line breaks were present rather than word wrapping which broke some examples if you were to copy & paste.
I'm sure DJ will look in to a solution to stop the confusion over this but I must also stress that the EZ-Script reference is a reference not a group of examples to be copied. Examples are in the examples folder for all commands.
Yes I know that my point is that many users will copy them to try them before they start playing with them and if they don't work many users will get discouraged I've seen it happen far to often and some that gave up could have been great scripters now if they did not get discouraged
One good thing about me posting on here so much is my spelling is getting a lot better
I did not see any red underlines in this post at all

lol
Love it