Welcome Guest, Not a member yet? Register   Sign In
Here's a weird one (debugging invisible characters?)
#1

[eluser]CheekyGeek[/eluser]
Anybody seen this one before?
I was getting a "T_String found, expecting T_Function" error in the middle of declaring some vars at the beginning of my model. There was nothing wrong with the line in question, but I finally figured it out by going into BBEdit and turning on "invisible" characters. Here's what I saw:
http://cgi.unk.edu/tmp/what-the.png.

Did a BBEdit search and replace to get rid of the weird characters and replace with tabs and now it works. Anybody have any idea what they are or how they got there? I copied and pasted the model code from a tutorial web page so figure I picked up the weird characters there somehow. Image of the invisibles here:

http://cgi.unk.edu/tmp/what-the.png

I'm going to paste the characters in code to see if they show up here:
Edit: They don't show up, but if you drag your cursor you can select them.

Lesson learned: don't forget to turn on invisibles to diagnose hidden problems!


Messages In This Thread
Here's a weird one (debugging invisible characters?) - by El Forum - 06-23-2008, 09:26 PM
Here's a weird one (debugging invisible characters?) - by El Forum - 06-23-2008, 09:52 PM
Here's a weird one (debugging invisible characters?) - by El Forum - 06-24-2008, 12:30 AM
Here's a weird one (debugging invisible characters?) - by El Forum - 06-24-2008, 02:01 AM
Here's a weird one (debugging invisible characters?) - by El Forum - 06-24-2008, 06:45 AM



Theme © iAndrew 2016 - Forum software by © MyBB