is there a way to recall and int


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: is there a way to recall and int

  1. #1
    Join Date
    Oct 2002
    Posts
    11

    Question is there a way to recall and int

    If i want to recall an int from another function how would i do so.

  2. #2
    Join Date
    Sep 2002
    Posts
    13

    ?

    are the functions in the same class ?? if so declare the variable for the whole class not just the individual method, I dont really understand your question, pls give more info.
    http://home.pacific.net.au/~cavenagh

  3. #3
    Join Date
    Oct 2002
    Posts
    11

    re

    they are same class but different functions its like this

    like i wanna use a variable use in the drop function and have it carry its value in report function
    public static void Drop()
    {
    int lpc;
    return lpc;
    ///some code
    }

    public static void report (lpc)
    {


    }

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center