TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy

TEAM-ADA@LISTSERV.ACM.ORG

Options: Use Classic View

Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Sender: "Team Ada: Ada Advocacy Issues (83 & 95)" <[log in to unmask]>
From: "W. Wesley Groleau x4923" <[log in to unmask]>
Date: Fri, 25 Jun 1999 16:30:06 -0500
Reply-To: "W. Wesley Groleau x4923" <[log in to unmask]>
Parts/Attachments: text/plain (11 lines)
> How do you swap two values of two seperate variables without declaring a
>  temp variable?

1. Write a Stack package.

2. Push first variable on the stack.

3. Assign second variable to first variable.

4. Pop first variable off the stack.

ATOM RSS1 RSS2