diff --git a/source/text/sbasic/python/python_2_basic.xhp b/source/text/sbasic/python/python_2_basic.xhp index 1c3820584f..0ce9f44177 100644 --- a/source/text/sbasic/python/python_2_basic.xhp +++ b/source/text/sbasic/python/python_2_basic.xhp @@ -77,9 +77,9 @@

Python Syntax

- results = script.invoke((prompt,buttons,title), (), ()) - script.invoke((message,), tuple, ()) - script.invoke((args), (), results) + results = script.invoke((prompt,buttons,title), (), ()) + script.invoke((message,), tuple, ()) + script.invoke((args), (), results)

Examples of Personal or Shared Scripts

Examples in Input/Output to Screen detail Python to Basic invocation calls. Monitoring Document Events illustrates the usage of *args Python idiom to print a variable number of parameters to Access2Base logging console dialog. At time of development you can interrupt Python script execution using Xray extension in order to inspect properties and methods of UNO objects. The APSO extension debugger allows object introspection using either Xray either MRI extensions. diff --git a/source/text/sbasic/python/python_document_events.xhp b/source/text/sbasic/python/python_document_events.xhp index f0785b1f2e..814047b1be 100644 --- a/source/text/sbasic/python/python_document_events.xhp +++ b/source/text/sbasic/python/python_document_events.xhp @@ -64,7 +64,7 @@ XDocumentEventListener as AdapterPattern from com.sun.star.lang import EventObject - class UiDocument(unohelper.Base, AdapterPattern): + class UiDocument(unohelper.Base, AdapterPattern): """ Monitor document events """ ''' adapted from 'Python script to monitor OnSave event' at diff --git a/source/text/sbasic/shared/03010301.xhp b/source/text/sbasic/shared/03010301.xhp index 7fd30d0556..a56a0e2a3a 100644 --- a/source/text/sbasic/shared/03010301.xhp +++ b/source/text/sbasic/shared/03010301.xhp @@ -40,7 +40,7 @@ Syntax: -Blue (Color As Long) +Blue (Color As Long) Return value: diff --git a/source/text/sbasic/shared/03010302.xhp b/source/text/sbasic/shared/03010302.xhp index f5630fde7c..aec9e1e105 100644 --- a/source/text/sbasic/shared/03010302.xhp +++ b/source/text/sbasic/shared/03010302.xhp @@ -40,7 +40,7 @@ Syntax: -Green (Color As Long) +Green (Color As Long) Return value: diff --git a/source/text/sbasic/shared/03010303.xhp b/source/text/sbasic/shared/03010303.xhp index 1dfc411f00..d7ac7717ad 100644 --- a/source/text/sbasic/shared/03010303.xhp +++ b/source/text/sbasic/shared/03010303.xhp @@ -40,7 +40,7 @@ Syntax: -Red (ColorNumber As Long) +Red (ColorNumber As Long) Return value: diff --git a/source/text/sbasic/shared/03010304.xhp b/source/text/sbasic/shared/03010304.xhp index 2e78f7ccfc..0a0b46b85d 100644 --- a/source/text/sbasic/shared/03010304.xhp +++ b/source/text/sbasic/shared/03010304.xhp @@ -37,10 +37,10 @@ Syntax: -QBColor (ColorNumber As Integer) +QBColor (ColorNumber As Integer) Return value: -Long +Long Parameter: ColorNumber: Any integer expression that specifies the color value of the color passed from an older MS-DOS based programming system. diff --git a/source/text/sbasic/shared/03010305.xhp b/source/text/sbasic/shared/03010305.xhp index 093ea3d7ce..3b95b396f9 100644 --- a/source/text/sbasic/shared/03010305.xhp +++ b/source/text/sbasic/shared/03010305.xhp @@ -39,11 +39,11 @@ Syntax: -RGB (Red, Green, Blue) +RGB (Red, Green, Blue) Return value: -Long +Long Parameter:
diff --git a/source/text/sbasic/shared/03020101.xhp b/source/text/sbasic/shared/03020101.xhp index 78cb1907fa..85f3a4bfbe 100644 --- a/source/text/sbasic/shared/03020101.xhp +++ b/source/text/sbasic/shared/03020101.xhp @@ -43,7 +43,7 @@ Close Statement diagram -Close [[#]fileNum [, [#]fileNum2 [,...]]] +Close [[#]fileNum [, [#]fileNum2 [,...]]] diff --git a/source/text/sbasic/shared/03020201.xhp b/source/text/sbasic/shared/03020201.xhp index 300451363d..5868020e4a 100644 --- a/source/text/sbasic/shared/03020201.xhp +++ b/source/text/sbasic/shared/03020201.xhp @@ -42,7 +42,7 @@ Get Statement diagram -Get [#]fileNum, [recordNum|filePos], variable +Get [#]fileNum, [recordNum|filePos], variable diff --git a/source/text/sbasic/shared/03020204.xhp b/source/text/sbasic/shared/03020204.xhp index c8b6bd14fd..10cbeec956 100644 --- a/source/text/sbasic/shared/03020204.xhp +++ b/source/text/sbasic/shared/03020204.xhp @@ -42,7 +42,7 @@ Put Statement diagram -Put [#]fileNum, [recordNum|filePos], variable +Put [#]fileNum, [recordNum|filePos], variable diff --git a/source/text/sbasic/shared/03020301.xhp b/source/text/sbasic/shared/03020301.xhp index 2c681a0aa5..f6eebac625 100644 --- a/source/text/sbasic/shared/03020301.xhp +++ b/source/text/sbasic/shared/03020301.xhp @@ -40,7 +40,7 @@ -Eof (intexpression As Integer) +Eof (intexpression As Integer) diff --git a/source/text/sbasic/shared/03020302.xhp b/source/text/sbasic/shared/03020302.xhp index 8e93fd5b8e..5e25c384a4 100644 --- a/source/text/sbasic/shared/03020302.xhp +++ b/source/text/sbasic/shared/03020302.xhp @@ -38,10 +38,10 @@
Syntax: -Loc(FileNumber) +Loc(FileNumber) Return value: -Long +Long Parameters: FileNumber: Any numeric expression that contains the file number that is set by the Open statement for the respective file. diff --git a/source/text/sbasic/shared/03020303.xhp b/source/text/sbasic/shared/03020303.xhp index 9ff89b5c44..eff8807698 100644 --- a/source/text/sbasic/shared/03020303.xhp +++ b/source/text/sbasic/shared/03020303.xhp @@ -38,10 +38,10 @@ -Lof (FileNumber) +Lof (FileNumber) -Long +Long FileNumber: Any numeric expression that contains the file number that is specified in the Open statement. diff --git a/source/text/sbasic/shared/03020304.xhp b/source/text/sbasic/shared/03020304.xhp index 0d47a77cad..557e22a324 100644 --- a/source/text/sbasic/shared/03020304.xhp +++ b/source/text/sbasic/shared/03020304.xhp @@ -41,10 +41,10 @@ See also: Open, Seek. Syntax: -Seek (FileNumber) +Seek (FileNumber) Return value: -Long +Long Parameters: FileNumber: The data channel number used in the Open statement. diff --git a/source/text/sbasic/shared/03020305.xhp b/source/text/sbasic/shared/03020305.xhp index 9ff8727fd6..1ba67a785a 100644 --- a/source/text/sbasic/shared/03020305.xhp +++ b/source/text/sbasic/shared/03020305.xhp @@ -40,7 +40,7 @@ Seek Statement diagram -Seek [#]filePos, {filePos|recordNum} +Seek [#]filePos, {filePos|recordNum} Parameters: