Variables and operators

Variables and operators

2
NewbieNewbie
2

    Jul 30, 2004#1

    Hi all,

    How about include variable in UE macros ?!?
    This is really powerful to have powerful macros.

    For example, the GetValue function is cool but will be more interresting if it keep the value and paste it after some operations.

    In Oracle, if I got an error in the package body, the line that is show is from the line of the body. So I have to add the line showing by Oracle and the line start of the package body.

    I can't do this in UE and it's frustrating.

    206
    MasterMaster
    206

      Jul 30, 2004#2

      For example, the GetValue function is cool but will be more interresting if it keep the value and paste it after some operations
      Here's a way to capture the value from GetValue, store it in a User Clipboard, and paste it later on. Maybe you'll get some ideas for a way to solve your problem.


      InsertMode
      ColumnModeOff
      HexOff
      UnixReOn
      Clipboard 1
      Find "string1"
      Key HOME
      "
      "
      Key UP ARROW
      GetValue "Enter Value"
      Key HOME
      StartSelect
      Key END
      Copy
      DeleteLine
      Find "string2"
      Paste
      Clipboard 0
      Software For Metalworking
      http://closetolerancesoftware.com

      2
      NewbieNewbie
      2

        Aug 02, 2004#3

        Thanks mrainey56 for this tip.

        It's useful.. but not for me at the moment :roll:

        I want to make some operations (sorry for my english :wink:).
        For example :

        1. Find a string
        2. Save the line of the string (example: 55)
        3. Ask the user a value (example: 160)
        4. Add this value with the line save before (example: 55 + 160)
        5. Goto Line of the result (example: 215)

        I can do the adition with the sum of columns... but it's not included in the macro functions :cry: