can a macro call itself [closed]
macros are usually reentrant, how do I call a macro programatically?
First time here? Check out the FAQ!
macros are usually reentrant, how do I call a macro programatically?
Here's an example function that calls itself – it's recursive.
Function factorial (n As Integer) As Double
If n < 0 Then
Print "Error!"
Stop
ElseIf n < 2 Then
factorial = 1
Else
factorial = n * factorial(n - 1)
End If
End Function
Asked: 2014-03-10 15:05:15 +0200
Seen: 320 times
Last updated: Mar 11 '14
How do you add bullets to an already number-bulleted group of statements? [closed]
Can I use Microsoft Publisher files with LibreOffice? [closed]
Alternating table column numbering, Col1 Numbers, Col2 Letters? [closed]
Are there any plans to improve image handling? [closed]
LibreOffice 3.5 Writer crashes when making PDF [closed]
How can I center the document in a Writer window? [closed]
How to change datasource in form letter / mail merge imported from MS-Word [closed]
Draft Layout option for Writer (aka Normal View) [closed]
Spell check breaks between Windows and Linux LO installs [closed]