!******************************************************************************!
! Test for putting a bang on the non-first line of a String
!
! Arguments: None
!
! @bug      2491 Args / Macro:  "!" incorrectly treated as comment when within String
! @author:  J Bauer
! @version: $Id: test_macro_parsetext.mm,v 1.2 2011/11/08 22:18:37 jwb Exp $
!******************************************************************************!
startmacro

  res mystr "hello &
             World ! &
             Hello World!"
             
  info "^reg.main.name: There should NOT be an ERROR above this line for invalid OS command!!"       
  ! The assert below checks to see if the Bang in the multi-line string above is correctly
  ! handled as an exclamation point, and not the start of a comment
  assert/text="^reg.main.name: Bang in mid-String text handled? " "^mystr" eqss "hello World ! Hello World!"
  
endmacro