Re: Use array with clearsilver and c

Brandon Long <[email protected]>
Newsgroups gmane.text.clearsilver.general
Organization Fiction L Networks
Message-ID <20070426015350.GB31479@bl1>
I'm not sure what you mean, but for example:

char *values[15];

// populate values
PopulateValues(values);

for (int x = 0; x < 15; x++) {
  hdf_set_valuef(hdf, "Values.%d=%s", x, values[x]);
}

Brandon

On 04/25/07 arreguera555 uttered the following other thing:
> I'm try send a array to the template html clearsilver from a cgi
> programming in c. How to printer a array in clearsilver?
> Thanks

-- 
  Windows NT crashed.
  I am the Blue Screen of Death.
  No one hears your screams.
    -- Peter Rothman                       http://www.fiction.net/blong/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.