|
Microsoft® JScript Arithmetic Operator Behavior |
| Language Reference |
|
The following table describes the behavior of Microsoft JScript arithmetic operators. The columns and rows represent the different types of expressions possible on either side of an arithmetic operator in JScript, and the entries in the table describe the behavior.
This table applies to the following arithmetic operators:
An E in the table indicates a run-time error and an N indicates a numeric result.
| obj | as | ns | num | bool | undef | null | |
|---|---|---|---|---|---|---|---|
| obj | N | E | N | N | N | E | E |
| as | E | E | E | E | E | E | E |
| ns | N | E | N | N | N | E | E |
| num | N | E | N | N | N | E | E |
| bool | N | E | N | N | N | E | E |
| undef | E | E | E | E | E | E | E |
| null | E | E | E | E | E | E | E |
obj = object, as = alphanumeric string, ns = numeric string, num = number, bool = Boolean, undef = undefined, null = null value.
© 1996 by Microsoft Corporation.
See also:
| file: /Techref/language/asp/js/2.htm, 2KB, , updated: 1996/11/22 10:11, local time: 2012/2/10 03:35,
38.107.179.234:LOG IN |
| ©2012 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://www.piclist.com/techref/language/asp/js/2.htm"> Microsoft® JScript Language Reference </A> |
| Did you find what you needed? |
|
Robotics nuts!Check out http://users.frii.com/dlc/robotics/projects/botproj.htm from Dennis Clark. This guy ROCKS! He has made (and sells but also releases code, docs, etc...) for a number of cool little robotic modules including whiskers, IR proximity detect and remote control, Sonar proximity detect, PWM, Servo, compass. Most of these use the little PIC 12C508 controller which costs basically nothing and is soooo tiny.The 4 servos, 2400 baud serial servo controller is a wonder of magic and he sells the programmed chip for $8. Wow! |
.