ClearAxParams
ClearAxParams Id
 
Parameters:

    Id = Id of an ActiveX object
Returns: NONE
 

     ClearAxParams clears the parametes list of an ActiveX object.



FACTS:


     * Clear the parameter list after each call of an object's function.



Mini Tutorial:


  
; Include ActiveX Library
  #Include "ActiveX"
  
; Register the AxDemo Dll
  RegisterAxDll("AxDemo.Dll")
  
; create a new object
  Id = NewAx("AxDemo.TestClass")
  
; Build a new parameter list
  AddAxIntParam(Id, 10)
  AddAxIntParam(Id, 4)
  
; Call an object's function that return an Integer
  Print CallAxIntFunc(Id, "Mul")
  
; Clear the parameter list
  ClearAxParams Id
  
; Display the Screen and wait for the user to press a key
  Sync
  WaitKey
  



Please NOTE: This code is for example purposes only.



This example would output.

  
  40
  

 
Related Info: AddAxFloatParam | AddAxIntParam | AddAxStringParam | CallAxFloatFunc | CallAxFunc | CallAxIntFunc | CallAxStringFunc | InsertAxFloatParam | InsertAxIntParam | InsertAxStringParam :
 


(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com