Euphoria Ticket #590: Doc section 4.5.2 states loop until statement does not use "with entry"

The last sentence describing the "loop until" construct states that loop until does not use the "with entry" despite the given example showing "with entry" used with loop until.

Details

Type: Bug Report Severity: Minor Category: Documentation
Assigned To: SPringle Status: Fixed Reported Release: 4.0.0
Fixed in SVN #: View VCS: none Milestone: 4.0.1

1. Comment by ne1uno Jan 09, 2011

that should be at the end of the next section

x.y.z for statement

Also note that a for loop can not have a with entry clause.

as it repeats later in another section

because they 
 have a more rigid nature structure than while or loop  
constructs.  

it works in loops fine

 
integer a = 1, x = 2 
 
loop with entry do 
	a = a * 2 
entry 
	x = x -1 
	? a 
	until x <= 0 
end loop 
 
? x 
 
/*  

1 
2 
0 
*/ 

2. Comment by mattlewis Feb 16, 2011

See: hg:euphoria/rev/36bec9d87d64

changeset: 4648:36bec9d87d64 tag: tip parent: 4643:9fd0586dd0d2 parent: 4647:956630cfb498 user: Matt Lewis date: Wed Feb 16 06:23:56 2011 -0500 files: demo/csort.ex demo/dep.exw demo/guru.ex demo/loaddb.ex demo/net/wget.ex demo/preproc/datesub.ex demo/preproc/etml.ex demo/preproc/etmltest.ex demo/preproc/literate.ex demo/sanity.ex docs/refman_2.txt description:

  • merge 4.0 branch into trunk:
  • fixes ticket 590
  • fixes ticket 608

Search



Quick Links

User menu

Not signed in.

Misc Menu