Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Extra libraries, Code snippets, applications etc. » U++ Esc Interpreter, Esc Macros and templates » continue bug
continue bug [message #49018] Tue, 28 November 2017 16:51 Go to next message
luoganda is currently offline  luoganda
Messages: 205
Registered: November 2016
Experienced Member
Happened in v11040,
using regular for loop,eg:
str="";
for(a=0; a<10; a++){
  str="any";
  if(str=="any")continue;  <=doesn't continue(goesFurther)
  str="moon";
  if(str=="moon")break;    <=this works as expected
}
Re: continue bug [message #49021 is a reply to message #49018] Tue, 28 November 2017 21:08 Go to previous messageGo to next message
Klugier is currently offline  Klugier
Messages: 1083
Registered: September 2012
Location: Poland, Kraków
Senior Contributor
Hello,

Please provide full code with types and make sure your run clean build.

Sincerely,
Klugier


U++ - one framework to rule them all.
Re: continue bug [message #49022 is a reply to message #49018] Wed, 29 November 2017 15:38 Go to previous messageGo to next message
luoganda is currently offline  luoganda
Messages: 205
Registered: November 2016
Experienced Member
tested with v11501, same thing!

code is in latest SUniGuiCreator:
snippets\cpp\upp\separateFile\ab_main.esc
Re: continue bug [message #49023 is a reply to message #49018] Wed, 29 November 2017 15:42 Go to previous messageGo to next message
luoganda is currently offline  luoganda
Messages: 205
Registered: November 2016
Experienced Member
continue in ab_main.esc
is commented out, but it's the same thing when it's not
Re: continue bug [message #49024 is a reply to message #49023] Wed, 29 November 2017 18:26 Go to previous messageGo to next message
Klugier is currently offline  Klugier
Messages: 1083
Registered: September 2012
Location: Poland, Kraków
Senior Contributor
Hello,

For the next time please write more information in your post (I didn't even know that the issue refers to Esc). You could also place the source code of the file here - why I need to lose additional time to obtain it from some unofficial site.

Sincerely,
Klugier


U++ - one framework to rule them all.

[Updated on: Wed, 29 November 2017 18:27]

Report message to a moderator

Re: continue bug [message #49025 is a reply to message #49023] Thu, 30 November 2017 08:46 Go to previous messageGo to next message
koldo is currently offline  koldo
Messages: 3398
Registered: August 2008
Senior Veteran
Dear Luoganda

The reason of this is that 'continue' is not part of Esc.

Best regards
Koldo


Best regards
Iñaki
Re: continue bug [message #49058 is a reply to message #49025] Sun, 10 December 2017 15:19 Go to previous messageGo to next message
Klugier is currently offline  Klugier
Messages: 1083
Registered: September 2012
Location: Poland, Kraków
Senior Contributor
Hello,

We have break, but we have not continue. It seems like it is the Esc design problem. In my opinion adding break shouldn't be huge problem. I will create ticker for this issue - #1821.

luoganda - maybe you have idea how to fix that issue? It will speed up the development process.

Sincerely,
Klugier


U++ - one framework to rule them all.

[Updated on: Sun, 10 December 2017 15:20]

Report message to a moderator

Re: continue bug [message #49059 is a reply to message #49058] Sun, 10 December 2017 16:12 Go to previous message
mirek is currently offline  mirek
Messages: 14105
Registered: November 2005
Ultimate Member
'continue' implemented.
Previous Topic: add more robust mid and some file funcs?
Next Topic: [Solved] Esc: Maps and arrays can't have more than 100 elements?
Goto Forum:
  


Current Time: Fri Nov 01 00:32:55 CET 2024

Total time taken to generate the page: 0.04074 seconds