4 Replies Latest reply on Sep 11, 2007 11:12 AM by kglad

    Hard return

    rydogg73
      I am stuck on something easy and just hitting
      a blank. So I am building an interactive code window
      where the user has to type or copy and paste SQL code
      into this window. The input text field checks it and
      response correct or incorrect. The problem I am having
      is the formatting of the SQL text. What is the symbol
      in AS2 that gives a hard return.

      example:

      if(_parent.txt1.text == "select qe.description, qe.envid, db.qdatabase, // hard return needed
      db.schemaversionmajor, db.schemaversionminor // hard return needed
      from qenvironment qe // hard return needed
      join dbalias db on db.envid = qe.envid"){

      _parent.gotoAndPlay("correct");
      }