Skip to content

Commit 26d7622

Browse files
committed
OutputToStr doc fix
1 parent 9319591 commit 26d7622

2 files changed

Lines changed: 14 additions & 6 deletions

File tree

MDX2JSON/AbstractREST.cls.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -445,11 +445,11 @@ This is the Schema which defines the form of the dispatch map</Description>
445445
</XData>
446446

447447
<Method name="OutputToStr">
448-
<Description>
449-
Executes actions and returns device output
450-
pObj - OREF or class
451-
pMethod - instance or class method to execute respectively
452-
pArgs - additional arguments</Description>
448+
<Description><![CDATA[
449+
Executes actions and returns device output <br>
450+
pObj - OREF or class<br>
451+
pMethod - instance or class method to execute respectively<br>
452+
pArgs - additional arguments<br>]]></Description>
453453
<ClassMethod>1</ClassMethod>
454454
<FormalSpec>pObj,pMethod,pArgs...</FormalSpec>
455455
<ProcedureBlock>0</ProcedureBlock>
@@ -498,7 +498,7 @@ wstr(s) do output(s) quit
498498
//Write a tab - call the output label
499499
wtab(s) do output($char(9)) quit
500500
//Output label - this is where you would handle what you actually want to do.
501-
// in our case, we want to write to myStream
501+
// in our case, we want to write to str
502502
output(s) set str=str_s quit
503503
]]></Implementation>
504504
</Method>

MDX2JSON/Tests.cls.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,5 +119,13 @@ do ##class(MDX2JSON.Tests).DynamicObjects()</Description>
119119
$$$ListToJSON(dtList)
120120
]]></Implementation>
121121
</Method>
122+
123+
<Method name="RenderMDXToJSONString">
124+
<Description>
125+
do ##class(MDX2JSON.Tests).RenderMDXToJSONString()</Description>
126+
<ClassMethod>1</ClassMethod>
127+
<FormalSpec>MDX:%String</FormalSpec>
128+
<ReturnType>%String</ReturnType>
129+
</Method>
122130
</Class>
123131
</Export>

0 commit comments

Comments
 (0)