sysArgCount

Category: System

Syntax:

sysArgCount:Int()



Returns

Int



Summary

Returns how many arguments were given after the program's name.

View detailed documentation online



Example
UseConsole
Import "BBRuntime64.decls"

Function Main()
    Local i:Int
    For i = 1 To sysArgCount()
        Print ToString(i) & ": " & sysArg(i)
    Next
    Return False
EndFunction

BambooBasic © 2026 Michael Denathorn