RE: Simple eusql prog now works - kinda
ronaustin at alltel.net wrote:
>
>
> NEWS FLASH! I tried it again using the example above and
> discovered the error was in the puts(1,data) statement. I changed
> it to print(1,data) and now it is printing the data sequence. Now
> I just have to get it to print in english. I've tried puts, print,
> and printf. I gues I got to go hit the documenation again. Also,
> so far I can only do a find on the primary index.
There is no way to programmatically do a find on anything other than the
primary key. You can execute a SQL statement for this.
A big priority is for me to improve the documentation for EuSQL.
Assuming that DESCRIPTION is just text,
puts(1, data[1]) -- data = {"some text"}
should work. EuSQL returns your data in an extra layer of sequence in
order to flag errors with an atom as a return value.
Matt Lewis
|
Not Categorized, Please Help
|
|