Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / compiler message

Author
Message
Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 26th Apr 2013 15:39 Edited at: 26th Apr 2013 15:41
what i do wrong ?

Attachments

Login to view attachments
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 26th Apr 2013 20:29
Are you using the standard AppGameKit IDE?

I entered your code as displayed above (including a code snippet would have been more helpful) and got no error.

Cheers,
Ancient Lady
AGK Community Tester and AppGameKit Master
Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 26th Apr 2013 22:29 Edited at: 26th Apr 2013 22:51
yes its the standard ide,
i make a new project, add some files and then it happens.
i think the editor have a format problem.
i open it with notepad. looks ugly^^



edit:
strange, reformat the code in notepad don't work but cut in
akg ide, paste in a new notepad file, copy & paste back in agk ide.

the last time i set a code template in ide options for a new file, maybe this was the reason. looks like a 13 10 / 10 13 problem
because the line break looks different in akg ide and notepad.
i don't look with hexeditor. if it happens again i will look.

Attachments

Login to view attachments
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 27th Apr 2013 18:37
Notepad is not a good editor to use because it adds formatting things that aren't visible to the eye and not understandable by other things.

Delete the project and start fresh and manually type the code into the AppGameKit IDE.

If you must use an outside editor, you need one that is pure text. Something like Crimson Editor or Textpad.

Cheers,
Ancient Lady
AGK Community Tester and AppGameKit Master
Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 27th Apr 2013 21:01
ok, thanks.
i think notepad put the pur text only in clipboard.
copy & paste and the hidden formatting is gone.
JimHawkins
14
Years of Service
User Offline
Joined: 26th Jul 2009
Location: Hull - UK
Posted: 28th Apr 2013 02:36
Because Notepad does not have a UTF-8 flag, it's interpreting the data as UTF-16, which happens to put the byte-pairs into a 16-bit Unicode mapping which corresponds (by accident) to Hiragana or Katakana.

-- Jim DO IT FASTER, EASIER AND BETTER WITH AppGameKit FOR PASCAL
Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 28th Apr 2013 09:34
thanks for info
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 28th Apr 2013 10:26
Your IDE hurts my eyes! You know not everything has to be a shade of blue right?

Quote: "Because Notepad does not have a UTF-8 flag, it's interpreting the data as UTF-16, which happens to put the byte-pairs into a 16-bit Unicode mapping which corresponds (by accident) to Hiragana or Katakana."

That would explain an issue I had earlier where a document would show up as chinese or whatever only in notepad.

"You're all wrong. You're all idiots." ~Fluffy Rabbit
Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 28th Apr 2013 11:44
@Phaelax
Quote: "Your IDE hurts my eyes!"


its blitzbasic II amiga style, there i had 4 colors in the ide,
black bg is to dark and white to bright for eyes.
its not the original blue, its a little bit to bright.

Login to post a reply

Server time is: 2024-05-03 17:47:22
Your offset time is: 2024-05-03 17:47:22