Post Reply 
HP Prime speed vs TI-Nspire CX
11-09-2016, 12:01 PM
Post: #22
RE: HP Prime speed vs TI-Nspire CX
(11-09-2016 06:48 AM)cyrille de brĂ©bisson Wrote:  Hello,


BUT, 90% of my goto use is to exit multiple loops at once, which you can not do in C (or other programming languages)... HOWEVER, you CAN do it in PPL using the BREAK(n) and CONTINUE(n) function!!!! As far as I know, PPL is the ONLY language that has such constructs!!!

Cyrille

Hello,
I have doubts if I understood correctly, but in Fortran 90 onwards one can do the following:

Code:
0| outa: DO
1|    inna: DO
2|      -----


5|      IF (cond1) EXIT outa ! jump line 9
6|      IF(cond2) CYCLE outa!jump line 0
7|     END DO inna
8| END DO outa
9|-----

Marcelo
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: HP Prime speed vs TI-Nspire CX - jte - 11-08-2016, 06:43 PM
RE: HP Prime speed vs TI-Nspire CX - DGM - 11-08-2016, 09:10 PM
RE: HP Prime speed vs TI-Nspire CX - Marcelo Vanti - 11-09-2016 12:01 PM
RE: HP Prime speed vs TI-Nspire CX - ttw - 11-09-2016, 08:44 AM



User(s) browsing this thread: 1 Guest(s)