Hi all,
I am currently working Advanced capstone section 3. I was able to pass all the questions in section except 3.5 - **3.5 Define a function on our local process called .perm.parseQuery
:**
the result was able to return as it stated in the example, and the code was running fine, however it still stating “fail” for this exercise
Does anyone know how to resolve this error or would able to identify something missing that causing it failed?
Question:
This function should:
* take one parameter x
which is a string
* parse this string to return the first element of the parse tree
such that:
.perm.parseQuery[".f1.checkSensor[raceTab;lapTab]"]
// returns
`.f1.checkSensor
.perm.parseQuery[".fia.getSummaryReport[`today]"]
// returns
`.fia.getSummaryReport
.perm.parseQuery["select from tab"]
// returns
?
``
Here is my code that i have used below
.perm.parseQuery: {string first parse x}
hdbH (set;`.perm.parseQuery;.perm.parseQuery)
Thanks