PDA

View Full Version : Copy/paste issues in an extension



Intruder
March 29th, 2018, 15:53
Hey guys, just decided to jump into extensions and have a hiccup.



:1: '=' expected near '»'

This is the error code. I am familiar with C##, but the error doesn't provide any clues as to the location.
I realize this is vague, but asked anyway while I wrestle with the code.

Intruder
March 29th, 2018, 16:19
OK, it seems that Notepad saves the .lau file in some way that causes this error.
I edited 1 line, then re-pasted the code I cut, then saved and got the error.

Trenloe
March 29th, 2018, 17:14
Moved to a new thread for this specific issue.

If you're using an editor like Notepad++ make sure the file encoding for your FG files is not in UTF-8 or similar - set it to ANSI or ISO 8859-1.

Intruder
March 30th, 2018, 13:14
Thank you. Switching to Notepad++ did the trick!

Have been able to augment DOE:Locations Vendors to correctly convert currencies
and consolidate a characters inventory of coins.

When I complete the development, I will forward the work to Dulux for his use in those fantastic extensions he has made available.