Subject | How to do CTRL characters in an IB string literal? |
---|---|
Author | Jason Wharton |
Post date | 2001-05-01T06:22:51Z |
I have never tried doing this before so I am a bit curious...
What if I wanted to insert a record with a string that contained control
characters from a script. In other words, I cannot use an input parameter to
do it.
In Delphi you do this:
MyVariable := 'some text'#13#10;
In InterBase can you do this?
Insert into mytable( ACol ) values ( 'some text'#13#10 )
If not, I think it would be a useful addition to the InterBase parsing
engine.
Perhaps I'm just up too late...
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
What if I wanted to insert a record with a string that contained control
characters from a script. In other words, I cannot use an input parameter to
do it.
In Delphi you do this:
MyVariable := 'some text'#13#10;
In InterBase can you do this?
Insert into mytable( ACol ) values ( 'some text'#13#10 )
If not, I think it would be a useful addition to the InterBase parsing
engine.
Perhaps I'm just up too late...
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com