Results 1 to 2 of 2

Thread: passing a variable as a parameter

  1. #1

    Thread Starter
    Hyperactive Member Arrow_Raider's Avatar
    Join Date
    Dec 2001
    Location
    AVR Lovers Club
    Posts
    423

    passing a variable as a parameter

    i need to enter a variable in a parameter, however by default, it uses the value of the variable, and not the variable itself. In visualbasic, this is resolved by putting byref variablename. What is the equivilent of that in java?
    My monkey wearing the fedora points and laughs at you.

  2. #2
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    There is none. If you really want to do it, create a wrapper object.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

Posting Permissions

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



Click Here to Expand Forum to Full Width