Results 1 to 3 of 3
  1. #1

    OutPut elements of an Array

    I need a TLS statement that will loop through an array and displays the contents so I can use wr's print log for output. Can anyone Help?

  2. #2

    Re: OutPut elements of an Array

    Ummm..., how about this thread from just a little earlier today?

    Hmmm... I don't suppose this a CPS exam question or something similar?

    Charles Reace

    "Any sufficiently advanced bug is indistinguishable from a feature." -Bruce Brown
    web site | [url=http://www.ebookworm.us/[/url]

    [i]...Sound trumpets! Every trumpet in the host! / Sixty thousand, on these words, sound, so high the mountains sound, and the valleys resound.</i] (The Song of Roland)

  3. #3

    Re: OutPut elements of an Array

    See if this helps, its a loop I use for testing but can be incorporated into what you may need.

    #Count the Table rows

    # Loop thru all the rows in tblFundSearch, based on "row_count" under column name FUND_NAME
    # and check each cell to see if it equals the Fund name in the array.

    for(i=1; i<=row_count; i++)
    tbl_get_cell_data("tblFundSearch","#"&i, "#2",cell_value);

    arr[i] = cell_value;
    element =ddt_val(table, "FUNDSEARCH_NAME");

    print(cell_value); #print the value of each item in the array

    if (cell_value == element)
    tl_step("Select Fund Name", 0, "Selected Fund Name: " & cell_value);


    Rob Marchetti

    [This message has been edited by RobMa (edited 03-26-2003).]

    [This message has been edited by RobMa (edited 03-27-2003).]



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
BetaSoft Inc.
All times are GMT -8. The time now is 07:52 PM.

Copyright BetaSoft Inc.