[CM] how to insert values into strings?

Forrest Curo treegestalt at gmail.com
Sat Jul 11 16:41:58 PDT 2020


Not speaking 'Scheme' is a real handicap. Anyway:
begin
variable x = 25
system(string-append("echo \"i 23 0 1 ", number->string( x), " 55\" >
testfif"))
end

(Phew!)

On Sat, Jul 11, 2020 at 1:14 PM Forrest Curo <treegestalt at gmail.com> wrote:

> example:
>
> with val = 25
> shell("echo \"i 23 0 1 val 90\" > testfif")
>
> simply sends the string, as is, to my fifo.
>
> I'm not finding string functions listed in the documentation.
> (?)
>
>
> Forrest Curo
> San Diego
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cm-mail.stanford.edu/mailman/private/cmdist/attachments/20200711/91fd1a7e/attachment.html>


More information about the Cmdist mailing list