Tag: Variables

#PSTip Initializing multiple variables at once

Here’s another cool variables tip. Say you want to initialize a few variables to a specific value.¬†Instead of doing: Try…

Read More

#PSTip Multiple variable assignments

In the previous tip I showed how we can use multiple assignments to swap the value of two or more…

Read More

#PSTip Swapping the value of two variables

In most programming languages the conventional way to swap the value of two variable is to use a third variable….

Read More