Error in char[i++]

Please report bugs here. If you are unsure whether something is a bug or an expected behavior, please post it on the "Technical Support" forum instead, and wait for a moderator to handle/move the post.
CyborgDE
Posts: 75
Joined: Wed Aug 12, 2015 9:21 pm

Error in char[i++]

Postby CyborgDE » Sat Aug 15, 2015 1:15 am

Hello,

i have a char[] with 6 items and a reference (from a function call) variable i:
charArray[6] => "*root*"

this does not work :

Code: Select all

char c = charArray[i++];


this does work :

Code: Select all

char c = charArray[i];
i++;


Best reagrds,
Uwe

JS-Support @Userware
Site Admin
Posts: 1043
Joined: Tue Apr 08, 2014 3:42 pm

Re: Error in char[i++]

Postby JS-Support @Userware » Thu Aug 20, 2015 4:54 am

Hello,

Thanks a lot for reporting this issue.

I have added it to our backlog. We are going to fix it asap.

Regards,
JS-Support


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 2 guests

 

 

cron