lilypond-user-fr
[Top][All Lists]
Advanced

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

Re: Condition avec if


From: Larix
Subject: Re: Condition avec if
Date: Fri, 31 Aug 2018 05:49:21 -0700 (MST)

Christophe Pochon wrote
> Comme ça ?
> 
> %%%%%%%%%%%
> date_perso = ""
> #(define date  (if (string=? date_perso "") (strftime "%d.%m.%Y"
> (localtime
> (current-time))) date_perso))
> 
> \markup \date
> 
> date_perso = "01.08.2018"
> #(define date  (if (string=? date_perso "") (strftime "%d.%m.%Y"
> (localtime
> (current-time))) date_perso))
> 
> \markup \date
> %%%%%%%%%%%
> 
> Christophe Pochon

Top nickel, c'est exactement ce que je cherchais. 

En plus c'est super cool, j'ai compris la syntaxe à employer pour faire
d'autres conditions.

Milles mercis

Stéphane




--
Sent from: http://lilypond-french-users.1298960.n2.nabble.com/



reply via email to

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