|
Subject: Re: Variables and Strings From: Norman Walsh <ndw@xxxxxxxxxx> Date: 28 Aug 2000 08:26:07 -0400 |
/ skvenkat@xxxxxxx was heard to say:
| But what I meant was can I equate a string to a variable like (def x
| x-string) where x-string is "2". Anyway, more precisely my problem was
| in relation to geting the number of columns in a grid (matrix), with say
| <array><r><c>1<c>0<c>0<r><c>0<c>1<c>0<r><c>0<c>0<c>1</array> where <r>-row,
| <c>-column. I use (element array make grid) (element c make grid-cell), but
| there is no grid-row flow object, so I have to supply the number of columns in
| the make grid charchterstic by counting the number of <c> tags. How do I do
| that?
Um, ... off the top of my head:
(element array
(let ((num-cols (node-list-length
(select-elements (children (current-node)) "c"))))
...))
Be seeing you,
norm
--
Norman Walsh <ndw@xxxxxxxxxx> | Nothing ever gets anywhere. The earth
http://nwalsh.com/ | keeps turning round and gets nowhere.
| The moment is the only thing that
| counts.--Jean Cocteau
DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Variables and Strings, skvenkat | Thread | Re: Variables and Strings, Norman Walsh |
| Re: Variables and Strings, Norman Walsh | Date | AW: rendering trademark in HTML usi, Roland Schopf |
| Month |