Home page  
Help >
ddlClear() - clear a collection
Version 7.11
ddlClear() - clear a collection ddlClear() - clear a collection

Prototype:
   void ddlClear(
      CONTROL *ctl,
      char *OptnStr,
      char *ArgList);

Permitted Values in OptnStr:
   /R - clear raw collection(s) only; do not clear sorted collection(s)
   /S - clear sorted collection(s) only; do not clear raw collection(s)

Form of ArgList:
      <cx> [<table-name>]

Description:
Resets a collection or a portion of a collection to empty.

A table-specific call to ddlClear(), i.e., a call that includes a specific <table-name>, clears sorted collections (if they exist) for
       . the sorted collection for <cx> <table-name>
       . the global sorted collection for <cx>

A global call to ddlClear(), i.e., a call that does not include a specific <table-name>, clears sorted collections (if they exist) for
       . all table-specific sorted collection for <cx>
       . the global sorted collection for <cx>

Values returned in Control.Status: NA

Copyright © 2019 , WhamTech, Inc.  All rights reserved. This document is provided for information purposes only and the contents hereof are subject to change without notice. Names may be trademarks of their respective owners.