Hi Bruce,
Am 09.12.2010 18:09, schrieb Bruce Korb:
> These are Guile messages. It means that the "string-pad"
> function is not defined. It is probably part of some
> library that has not been loaded. To use it, you need to
> determine how. Something like this that _is_ used at
> Guile startup:
> (use-modules (ice-9 common-list))
I remember seeing these before. Someone else had some Guile trouble, so
I had to hunt these ice-9 guys down on my system.
But then again this ...
> Also, I am not familiar with it because this is equivalent:
>
> Print(' <$
> (sprintf "%-15s%s.%s"
> thistype (get "inst") (get "name"))
> $>', 1)
... works like a treat, and allowed me to kick out the whole cruft.
Thanks a ton!
> finally, a little nit:
>
>> (string-append
>> (. thistype)
>
> The dot operator and parentheses are superfluous.
I promise to be good and not use unnecessary dot operators any more :)
Very helpful, thanks a lot!
Dennis
--
Zentrum für Technomathematik, AG Optimierung und Optimale Steuerung
fon: 0421-218.63866 fax: 0421-218.9863866 web: www.worhp.de
|