Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - CharlieMetrology

#1
Hi there!

Thats the way I do it in "Version 5.0"

DECLARE aSelectedList
DECLARE iIndex 1
DECLARE iSelectedIndex 1
DECLARE iFeaturesNumber
DECLARE sFeatureStatus

TREEVIEW FEATURE COUNT GET ( iFeaturesNumber )
WHILE $iIndex < $iFeaturesNumber
    TREEVIEW FEATURE SELECT GET ( $iIndex, sFeatureStatus )
    IF $sFeatureStatus == "On"
        TREEVIEW FEATURE NAME GET ( $iIndex, aSelectedList[$iSelectedIndex] )
        ++iSelectedIndex
    ENDIF
    ++iIndex
ENDWHILE
#2
Macro World / Re: Return when fail
June 12, 2015, 12:56:24 AM
Hi there,

There's a command: MACRO GET_ERROR_STATUS ( string ) , that: 'Gets the error status of the last executed statement ', mainly returns "Error" or "No Error", you can get the string and change it to a binary format.

Cheers!
Charlie.