Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions main/}bedrock.hier.unwind.pro
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,11 @@ ENDIF;
### Validate Parameters ###
nErrors = 0;

# If blank delimiter specified then convert to default
If( pDelim @= '' );
pDelim = '&';
EndIf;

If( Scan( '*', pDim ) = 0 & Scan( '?', pDim ) = 0 & Scan( pDelim, pDim ) = 0 & Scan( ':', pDim ) > 0 & pHier @= '' );
# A hierarchy has been passed as dimension. Handle the input error by splitting dim:hier into dimension & hierarchy
pHier = SubSt( pDim, Scan( ':', pDim ) + 1, Long( pDim ) );
Expand Down Expand Up @@ -192,11 +197,6 @@ ElseIf( Trim( pConsol ) @= '' );
LogOutput( cMsgErrorLevel, Expand( cMsgErrorContent ) );
Endif;

# If blank delimiter specified then convert to default
If( pDelim @= '' );
pDelim = '&';
EndIf;

### Check for errors before continuing
If( nErrors <> 0 );
If( pStrictErrorHandling = 1 );
Expand Down