DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 3 of 3
  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)
    {


    }

Bookmarks

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


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links