Hi there,
Maybe there's something I don't understand in your request, but it seems to
me that documentation is full of examples with conditionals, and strings and
variables manipulations. I recommand especially utils.liq (in the distro) or
dolutils.liq that is featured here:
http://savonet.sourceforge.net/doc-0.9.1/dolebrai.html
By the way the caret (^) is the string concatenation operator.
Xavier.
2009/8/21 Chricken <[email protected]>
> Hi, it's me again ;)
>
> My last mails seem to be scrubbed because of sending in HTML. I am sorry
> for that.
>
> I am wondering, how I can handle variables.
> I'd like to do the following:
>
> - define a string-variable and fill it with a system-output (the date
> and time)
> - define another string-variable and fill it with an other output
> (metadata)
> - combine these two variables to one
> - output the results to stdout and a file
>
> the result should be something like this:
> 19.08.2009 11:13 - artist - title
>
> By now I have the output of the date and the output of metadata.
> Unfortunately both are in their own line, but I want both outputs to be in
> one line.
> The only way I can imagine is to work with variables.
>
> Absolutely great would be, if somebody tells me, how to build something
> like an if-condition.
> So I can build an log, which handles different metadata from different
> broadcasting-programs
>
> I am sorry for this basic question, but I couldn't find anything useful so
> far.
> And the style of Liquidsoap as a functional programming language (as far I
> have read) is so different to my experiences with imperative programming
> languages.
>
> Thank you for your interest
> Chricken
>
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users
>
>
--
Xavier Cazin <[email protected]>
immatériel·fr — R.C.S. Paris 509 139 937
http://immateriel.fr — Skype : immateriel.fr
Phone: +33 6 59 93 71 76 — Fax: +33 9 56 95 23 95
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users