From d38b1d2e04401f3d683c13cadc57d79ecf7c3b43 Mon Sep 17 00:00:00 2001 From: cybernetDeveloper Date: Wed, 30 Oct 2024 08:07:26 -0700 Subject: [PATCH] Added member function to querysetcell.json Added member function and example to querysetcell.json --- data/en/querysetcell.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/data/en/querysetcell.json b/data/en/querysetcell.json index 3de00815e..16d9b40ff 100644 --- a/data/en/querysetcell.json +++ b/data/en/querysetcell.json @@ -2,6 +2,7 @@ "name":"querySetCell", "type":"function", "syntax":"querySetCell(query, column, value [, row])", + "member":"query.setCell(column, value [, row])", "returns":"boolean", "related":["QueryAddColumn", "QueryAddRow", "QueryNew"], "description":" Sets a cell to a value. If no row number is specified,\n the cell on the last row is set.", @@ -28,6 +29,13 @@ "code":" \r\n \r\n SELECT Course_ID, Descript \r\n FROM Courses \r\n \r\n \r\n ", "result":"", "runnable":false + }, + { + "title":"Script member function example", + "description":"", + "code":"\n\tq = queryNew( \"id,name\");\n\tq.addRow();\n\tq.setCell(\"id\", 1, 1);\n\tq.setCell(\"name\", \"one\", 1);\n\twriteDump(q);\n", + "result":"", + "runnable":true } ]