Results 1 to 3 of 3

Thread: A complex string.

  1. #1

    A complex string.

    Is it possible?

    str := 'convert -pointsize 20 -fill white -draw 'text ' + arrowXYstr + '"' + Floattostr(Temp.umedel) + '"' img/temp.jpg img/temp.jpg';

    Xterm command : convert -pointsize 20 -fill white -draw 'text 270,460 "Text here"' img/temp.jpg img/temp.jpg
    Shell(str);

    arrowXYstr = '270,460';
    Temp.umedel = real;

    Is it possible?

    The " and the ' conflicts it seems.
    Last edited by sixten; 12-01-2013 at 12:37 AM.

  2. #2
    The more I read this, the more I don't have any idea what your problem is. The only thing I can tell looking at the post is that you don't use double-apos to insert an apostrophe into the string (str:='I don''t want to use " instead of '''). The Xterm command works perfectly fine for me.
    Last edited by Super Vegeta; 12-01-2013 at 12:07 PM.

  3. #3
    Code:
    form1.caption:='[ ''test'' ]';
    Now form caption would be [ 'test' ].

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •