• Does using rxqueue always UPPERCASE all of the text?

    From Michael Lueck@21:1/5 to All on Wed Sep 20 03:27:19 2023
    Greetings,

    Using ooRexx v5.0 I was reminded that in my use of rxqueue, always the text ends up UPPERCASE. Example:

    CheckEXIF: procedure expose LDSLogging
    THISPhotoFile = arg(1)

    THISPhotoDate = ''
    THISCameraBrand = ''

    EXIFqueue = RXqueue('create')
    OLDqueue = RXqueue('set', EXIFqueue)
    'exif "'THISPhotoFile'" | /usr/local/bin/rxqueue ' EXIFqueue

    do queued()
    pull THISline
    if THISline~left(20) = 'DATE AND TIME (ORIGI' then
    do
    THISPhotoDate = THISline~substr(22, 10)~changeStr(':', '')
    end
    if THISline~left(20) = 'MANUFACTURER' then
    do
    THISCameraBrand = THISline~substr(22, 1)~upper()
    end
    end
    rc = RXqueue('delete', EXIFqueue)
    trash = RXqueue('set', OLDqueue)

    THISreturn = THISPhotoDate || THISCameraBrand
    .output~lineout(THISreturn)
    return THISreturn


    I must seek for 'DATE AND TIME (ORIGI' and MANUFACTURER' instead of the exact case I see the program output. I would think passing the data through rxqueue is responsible for the UPPERCASE transformation. Or is the do queued(), pull THISline responsible
    and the data really is within rxqueue CasePreserved?

    I am thankful,
    Michael Lueck

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Rick McGuire@21:1/5 to Michael Lueck on Wed Sep 20 06:37:01 2023
    On Wednesday, September 20, 2023 at 6:27:20 AM UTC-4, Michael Lueck wrote:
    Greetings,

    Using ooRexx v5.0 I was reminded that in my use of rxqueue, always the text ends up UPPERCASE. Example:

    CheckEXIF: procedure expose LDSLogging
    THISPhotoFile = arg(1)

    THISPhotoDate = ''
    THISCameraBrand = ''

    EXIFqueue = RXqueue('create')
    OLDqueue = RXqueue('set', EXIFqueue)
    'exif "'THISPhotoFile'" | /usr/local/bin/rxqueue ' EXIFqueue

    do queued()
    pull THISline

    rxqueue doesn't uppercase, but PULL does. Use PARSE PULL instead.

    if THISline~left(20) = 'DATE AND TIME (ORIGI' then
    do
    THISPhotoDate = THISline~substr(22, 10)~changeStr(':', '')
    end
    if THISline~left(20) = 'MANUFACTURER' then
    do
    THISCameraBrand = THISline~substr(22, 1)~upper()
    end
    end
    rc = RXqueue('delete', EXIFqueue)
    trash = RXqueue('set', OLDqueue)

    THISreturn = THISPhotoDate || THISCameraBrand
    .output~lineout(THISreturn)
    return THISreturn


    I must seek for 'DATE AND TIME (ORIGI' and MANUFACTURER' instead of the exact case I see the program output. I would think passing the data through rxqueue is responsible for the UPPERCASE transformation. Or is the do queued(), pull THISline
    responsible and the data really is within rxqueue CasePreserved?

    I am thankful,
    Michael Lueck

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael Lueck@21:1/5 to Rick McGuire on Wed Sep 20 08:58:18 2023
    On Wednesday, September 20, 2023 at 9:37:02 AM UTC-4, Rick McGuire wrote:
    On Wednesday, September 20, 2023 at 6:27:20 AM UTC-4, Michael Lueck wrote:


    do queued()
    pull THISline
    rxqueue doesn't uppercase, but PULL does. Use PARSE PULL instead.


    Excellent! Indeed using PARSE PULL preserves the caseness of the data. Thank you, Rick!

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)