Post Reply 
connectivity kit copy paste anomoly
01-03-2024, 07:25 AM
Post: #3
RE: connectivity kit copy paste anomoly
I'm familiar with the case Liamtoh Resu is writing about, and it's not the same issue that Jeff referred to. My ticket was about a problem with the "Copy" function in the Connectivity Kit that duplicates an existing program. However, what is being discussed here is not a bug in the Connectivity Kit, but rather an issue with special characters that may appear when pasting code from a webpage. For example, copy the following program into the Connectivity Kit and run it.

Code:
EXPORT CP_TEST()
BEGIN
  LOCAL a = {10,20,30};
  PRINT(a(1)​);
END;

You'll see a syntax error. Note that when you paste this into the Connectivity Kit or most other text editors, the error is not visible to the naked eye. When you set the cursor between these brackets using the mouse in the Connectivity Kit, you'll notice that pressing the right arrow key on the keyboard (to move the cursor right) does not move the cursor the first time; it only moves after the second press. There is simply an invisible character there that needs to be removed to compile the program. However, after opening it in Prime or VC, you can see the blank character between the closing brackets.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: connectivity kit copy paste anomoly - komame - 01-03-2024 07:25 AM



User(s) browsing this thread: 1 Guest(s)