gEDA-user: string operation on path variable in gafrc

Peter TB Brett peter at peter-b.co.uk
Sun Jan 20 02:11:17 EST 2008


On Sunday 20 January 2008 06:22:09 Paul Tan wrote:
> Hi kmk,
>
> oops, forgot u have an extra "/", try this
>
> (define gedasymbols "/home/kmk/lilalaser/geda/")
> (component-library (string-append gedasymbols "analog"))

geda.scm provides a function for this purpose

(define gedasymbols "/home/kmk/lilalaser/geda")
(component-library (build-path gedasymbols "analog"))

                                 Peter

-- 
Peter Brett

Electronic Systems Engineer
Integral Informatics Ltd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://www.seul.org/pipermail/geda-user/attachments/20080120/4da959c6/attachment.pgp 


More information about the geda-user mailing list