Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-12390

SAMPLE can't be used with a variable

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Not specified
    • Resolution: Fixed
    • None
    • 5.0.4
    • None
    • None

    Description

      SomeFile1 := DATASET([

      {'A'}

      ,

      {'B'}

      ,

      {'C'}

      ,

      {'D'}

      ,

      {'E'}

      ,

      {'F'}

      ,

      {'G'}

      ,

      {'H'}

      ,

      {'I'}

      ,

      {'J'}

      ,

      {'K'}

      ,

      {'L'}

      ,

      {'M'}

      ,

      {'N'}

      ,

      {'O'}

      ,

      {'P'}

      ,

      {'Q'}

      ,

      {'R'}

      ,

      {'S'}

      ,

      {'T'}

      ,

      {'U'}

      ,

      {'V'}

      ,

      {'W'}

      ,

      {'X'}

      ,

      {'Y'}

      ],

      {STRING1 Letter}

      );

      Sample_interval := 5;

      MySet1 := SAMPLE(SomeFile1,Sample_interval,1);

      MySet1;

      Does not compile.

      Attachments

        Activity

          People

            ghalliday Gavin Halliday
            calderwoof Mark Calderwood
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: