Prev Page Next Page
CallSub
Previous Top Next

CallSub allows you to dynamically call a sub, which means that the called sub is only known at runtime.

Syntax: CallSub (Sub Name [, Arguments List])
Sub Name - A string that holds the target sub name.
Arguments List - List of arguments passed to the sub (separated by commas).

Example:
For i = 1 to 3
  If CallSub("SomeSub" & i, arg1, arg2, arg3) > 10 Then
    ...
  End If
Next
  
Prev Page Next Page
Converted from CHM to HTML with chm2web Pro 2.85 (unicode)