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 / Bug in IF statement

Author
Message
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 22nd Dec 2013 10:51
The compiler is picking up the colon inside my string as a line separator.

IF THEN ELSE construct does not allow colon separators at line XX



Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 22nd Dec 2013 13:05 Edited at: 22nd Dec 2013 13:06
yes, its a known issue. the compiler get a rework next year i heard.
this "does not allow colon separators" is also nonsense^^

fix
t$="Elapsed Time: "
if status = 0 then setTextString(msg, t$+str(trunc(timer())))

http://code.google.com/p/agk/issues/list

AGK 108 B19 : Windows 8.1 Pro 64 Bit : AMD Radeon HD 6670
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 22nd Dec 2013 18:44
Ahhh, a workaround!

Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 22nd Dec 2013 19:53
also +chr(58)+ the compiler can't find the :


AGK 108 B19 : Windows 8.1 Pro 64 Bit : AMD Radeon HD 6670

Login to post a reply

Server time is: 2024-11-24 23:31:06
Your offset time is: 2024-11-24 23:31:06