karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-3289) Add a while loop command
Date Wed, 15 Oct 2014 14:03:33 GMT

    [ https://issues.apache.org/jira/browse/KARAF-3289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14172385#comment-14172385
] 

Guillaume Nodet commented on KARAF-3289:
----------------------------------------

Master: https://git-wip-us.apache.org/repos/asf?p=karaf.git;a=commit;h=ad559c07a71f83d86fd832ac756c3b316ebac2ac

> Add a while loop command
> ------------------------
>
>                 Key: KARAF-3289
>                 URL: https://issues.apache.org/jira/browse/KARAF-3289
>             Project: Karaf
>          Issue Type: New Feature
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>             Fix For: 4.0.0
>
>
> The loop, combined with the new expression parser from KARAF-3264 will allow the following
things:
> {code}
> karaf@root()> a = 0 ; while { ((a < 10)) } { echo $a ; ((a += 1)) }
> 0
> 1
> 2
> 3
> 4
> 5
> 6
> 7
> 8
> 9
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message