|
Ternary Operators in VBScript
|
|
08-01-2009, 01:26 PM
Post: #1
|
|||
|
|||
Ternary Operators in VBScript
Let me first give a basic introduction for those readers who don’t know PHP and may not understand what we’re talking about here. PHP allows you to make quick decisions using the ? and : operators. These logical operators are known as Ternary Operators and allow you to take a shortcut approach to a simple conditional block. A ternary operation returns the result of an expression. Therefore, it is most commonly used for a variable assignment. In php, the syntax looks like this: (more…) Posted on Thu, 17 Jan 2008 14:54:26 +0000 at http://www.nilpo.com/2008/01/windows-scr...-vbscript/ Comments: http://www.nilpo.com/2008/01/windows-scr.../#comments |
|||
|
« Next Oldest | Next Newest »
|
| Possibly Related Threads... | |||||
| Thread: | Author | Replies: | Views: | Last Post | |
| Luhn Algorithm Validation in VBScript (ASP) | Nilpo | 1 | 2,629 |
10-09-2010 02:31 AM Last Post: Maykel |
|
| Restoring .vbs (VBScript Script File) File Associations | Nilpo | 0 | 2,677 |
08-01-2009 01:26 PM Last Post: Nilpo |
|
| Controlling When VBScript Events Are Handled | Nilpo | 0 | 735 |
08-01-2009 01:26 PM Last Post: Nilpo |
|
| Forum Permissions |
| You cannot post new threads. You cannot post replies. You cannot post attachments. |
| HTML is turned on. MyCode is turned on. Smilies are turned off. [img] is turned on. |


Search
Member List
Calendar
Help




