Re: (dsssl) About define-language.

Subject: Re: (dsssl) About define-language.
From: Jany Quintard <jany.quintard@xxxxxxx>
Date: Wed, 6 Mar 2002 10:03:55 +0100
* Raul Chirea [Wed, 06/03/2002 at 05:15 +0200]
> 
> Hi,
> 
> It apears that may previous question about how to make string comparison
> functions work was not pertinent enough.
I do not remember your question,so maybe I am off topic, but could this help? :
----- from the spec. ------
8.5.9.5. String Equivalence
(string=? string1 string2)
(string-ci=? string1 string2)

Return #t if the two strings are the same length and contain the
same characters in the same positions,...

8.5.9.6. String Comparison
(string<? string1 string2)
(string>? <string1 string2)
(string<=? string1 string2)
(string>=? string1 string2)
(string-ci<? string1 string2)
(string-ci>? string1 string2)
(string-ci<=? string1 string2)
(string-ci>=? string1 string2)
...
----- from the spec. End. ------

so in tests, you would write:
(if (string? str1 str2)
    (do this if strings match)
    (do this if they do'nt))

> So, I'll ask you to tell me where/how can I get some examples of
> "define-language" usage, because the definition in the DSSSL specification
> is too complicated for me !
It only seems to be.
The DSSSL handbook could help:
http://www.mulberrytech.com/dsssl/dsssldoc/handbook.html
and the cookbook:
http://www.mulberrytech.com/dsssl/dsssldoc/cookbook/index.html
you can download it or just browse the HTML version.

Have fun. Jany

 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist

Current Thread