Recent content by amazing66

  1. A

    Radio-set and enabled buttons

    You can use the 'screen-value' attribute of the radio set to test what 'element' of the radio set is currently selected.
  2. A

    Lower/Upper case

    Could maybe use something like the following: def var lc_unformatted as char init 'this is the First sentence. this is the Second.' no-undo. def var lc_temp as char no-undo. def var lc_sentence as char no-undo. def var li_x as int no-undo. do li_x = 1 to num-entries(lc_unformatted, '.')...
  3. A

    Stripping ^M character

    From what I can gather from other related threads, the stripping of the ^M character is usually done on the UNIX side. At the moment I am dumping some data on a Windows box that is subsequently read by a UNIX application. Unfortunatley the ^M character contained in the dump file causes a Unix...
  4. A

    Right Justify Character output

    Carrie, I have just noticed that the example I gave you is not correct as it replaces all zeros with spaces. Not good at all! Sorry. Try this instead: ... /* header */ string(vh-Client, '>>>9' ) + string(vh-BatchFeedId, '>>>>>9' ) + string(vh-BatchSeqNum, '>>>>>9' ) etc.
  5. A

    Right Justify Character output

    Carrie, You could use something like this to format your string: ... /* header */ replace(string(vh-Client, '9999', '0', ' ' ) + replace(string(vh-BatchFeedId, '999999', '0', ' ' ) + replace(string(vh-BatchSeqNum, '999999', '0', ' ' ) etc. As usual there is probably a neater...
Top