Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
hyperPad

hyperPad Forum

  1. Home
  2. Comments & Feedback
  3. Pass in parameters (and object)

Pass in parameters (and object)

Scheduled Pinned Locked Moved Comments & Feedback
2 Posts 2 Posters 382 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • KamdroidK Offline
    KamdroidK Offline
    Kamdroid
    wrote on last edited by
    #1

    There should be a standard way of passing in parameters for a function. Usually I use broadcast behaviours, but this isn't sufficient.

    When will we be able to pass in an object? I have a function, that does many things to an object. Instead of just being able to pass in a desired object to be used in all the object manipulation behaviours, I have to painfully copy these behaviours and select the object I want.

    The worst part is when I need to make a change to the function, I have to do it for every one, which is horribly inefficient and waste of time,

    D 1 Reply Last reply
    1
    • KamdroidK Kamdroid

      There should be a standard way of passing in parameters for a function. Usually I use broadcast behaviours, but this isn't sufficient.

      When will we be able to pass in an object? I have a function, that does many things to an object. Instead of just being able to pass in a desired object to be used in all the object manipulation behaviours, I have to painfully copy these behaviours and select the object I want.

      The worst part is when I need to make a change to the function, I have to do it for every one, which is horribly inefficient and waste of time,

      D Offline
      D Offline
      Deeeds
      wrote on last edited by Deeeds
      #2

      @Kamdroid

      I second your sentiments.

      There should be named command creation (functions/methods):

      • Functions should take inputs

      • Functions should return results

      • Methods should be encapsulated/invokable within objects

      • Functions should be accessible globally or within scope

      • Functions should be passable as parameters

      • objects should be referenced, and this be passable and shareable

      And...

      The Behaviour Editor should have UNDO, REDO and a listed history of modifications made to all behaviours within any object.

      ;)

      1 Reply Last reply
      0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Search