0

I am writing in intersystems cache object script. I have a statement which has become very long. Is there any way to continue a statement in the next line?

Thanks.

syonip
  • 2,762
  • 25
  • 27

1 Answers1

1

Can you post a sample? If you have a long string you can concatenate it like this:

Set SQL = "SELECT * "_
          "FROM Sample.Person "_
          "WHERE Name [ 'a'"

This is equal to:

Set SQL = "SELECT * FROM Sample.Person WHERE Name [ 'a'"

Other types of statements can also be placed on several lines.

rfg
  • 1,331
  • 1
  • 8
  • 24