help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: use end or endif is indifferent?


From: Sergei Steshenko
Subject: Re: use end or endif is indifferent?
Date: Thu, 29 Nov 2018 00:03:19 +0000 (UTC)



On Wednesday, November 28, 2018, 7:52:48 PM GMT+2, Marco Atzeri <address@hidden> wrote:


Am 28.11.2018 um 18:04 schrieb shivax:
> hi
>
>
> I used "end" instead of "endif" in cycles
> it's indifferent?
>
>

not clear what you mean for "cycles"

you can use "end" instead of "endif" for closing
a "if" statement, but it is not recommended

https://octave.org/doc/interpreter/Statements.html#index-end-statement

---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren gepr├╝ft.
https://www.avast.com/antivirus


=============================

'not clear what you mean for "cycles"' - most likely loops. In Russian "cycles" is used instead of "loops". Probably not only in Russian.

--Sergei.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]