Mode:
Duration:
1
2
3
4
5
6
7
8
9
Function Fact(n As Integer) As Integer
If n = 0 Then
Return 1
Else
Return n * Fact(n - 1)
End If
End Function
System.DebugLog(Fact(5).ToString)Coding works best on desktop or with an external keyboard.
Function Fact(n As Integer) As Integer
If n = 0 Then
Return 1
Else
Return n * Fact(n - 1)
End If
End Function
System.DebugLog(Fact(5).ToString)Coding works best on desktop or with an external keyboard.
Calculates factorial of a number using recursion.
Function Fact(n As Integer) As Integer
If n = 0 Then
Return 1
Else
Return n * Fact(n - 1)
End If
End Function
System.DebugLog(Fact(5).ToString)Xojo is a cross-platform, object-oriented programming environment for developing desktop, web, mobile, and console applications. It features a BASIC-like syntax, drag-and-drop GUI design, and a unified framework for building native applications quickly.
Origin & Creator
Xojo was originally created as REALbasic by Geoff Perlman in 1998 and later rebranded as Xojo in 2013 to emphasize cross-platform capabilities.
Industrial Note
Xojo is popular among small to medium-sized businesses, hobbyists, and educational institutions for rapid cross-platform application development, especially when ease of deployment is key.