Count of Desparam Command

Dear Gurus,

I need to know comment that sowing the count of Desparam. 

in the picture, i can get the value of desparam. 

but i need the count of desparam, which is 5. 

i have try below comment, but no result

q count of desp

q desp.size

q size of desp

Note. 

in PML i can use term SIZE to show number of array

like, desparam.size. But how can i get this same result in Design?

How i can get count of Desparam in Design Modul? 

i mean with command windows. 

Parents
  • TRY THIS 

    VAR !datas COLL ALL DATA WITH Purpose EQ 'DESP' FOR DTREF OF CE


    DO !data VALUES !datas


        !TITLE = !data.DBREF().DTITLE
        !NUMBER = !data.DBREF().NUMBER
        !paraValue = !data.DBREF().Dproperty
         !param = $!paraValue


    $p design paramter $!NUMBER is for $!TITLE you can use 'desp num $!NUMBER $!param'
    ENDDO
    it works as follows 

Reply
  • TRY THIS 

    VAR !datas COLL ALL DATA WITH Purpose EQ 'DESP' FOR DTREF OF CE


    DO !data VALUES !datas


        !TITLE = !data.DBREF().DTITLE
        !NUMBER = !data.DBREF().NUMBER
        !paraValue = !data.DBREF().Dproperty
         !param = $!paraValue


    $p design paramter $!NUMBER is for $!TITLE you can use 'desp num $!NUMBER $!param'
    ENDDO
    it works as follows 

Children