Archive for October, 2007

JavaScript Programmer’s (Web design seattle) Reference Example code: // Example derived

Wednesday, October 17th, 2007

JavaScript Programmer’s Reference Example code: // Example derived from Wrox Professional JavaScript // This opens a database, selects some records // Traverses the collection that was selected // and for each one, outputs an image tag. database.connect(”ODBC”, “TargetDB”, “”, “”, “”); myCursor = database.cursor(”SELECT * FROM TARGET_TABLE”); while(myCursor.next()) { myBlob = myCursor.blobData; write(myBlob.blobImage(”bmp”)); } myCursor.close(); See also: Netscape Enterprise Server, unwatch(), watch() Method JavaScript JScript NES Notes blobImage() 1.1 + 2.0 + - blobLink() 1.1 + 2.0 + - blob.blobImage() (Method) This method creates an element having the appropriate MIME type for the blob object. Availability: JavaScript 1.1 Netscape Enterprise Server 2.0 Property/method value type: Image object NES myBlob.blobImage(aFormat) NES myBlob.blobImage(aFormat, aTxt) NES myBlob.blobImage(aFormat, aTxt, anAlign) NES myBlob.blobImage(aFormat, aTxt, anAlign, aPixWid) NES myBlob.blobImage(aFormat, aTxt, anAlign, aPixWid, aPixHgt) NES myBlob.blobImage(aFormat, aTxt, anAlign, aPixWid, aPixHgt, aPixBrdr) JavaScript syntax: NES myBlob.blobImage(aFormat, aTxt, anAlign, aPixWid, aPixHgt, aPixBrdr, isMap) aFormat Image file format anAlign The alignment of the image aPixBrdr The border value aPixHgt The height of the image aPixWid The width of the image aTxt The alt text for the image Argument list: isMap Whether the image is a map

Web design rates - B BlendTrans() (Filter/blend) Cross-references: ECMA 262 edition

Tuesday, October 16th, 2007

B BlendTrans() (Filter/blend) Cross-references: ECMA 262 edition 2 section 11.13 ECMA 262 edition 3 section 11.13 BlendTrans() (Filter/blend) A blend filter for controlling transitions. Availability: JScript 3.0 Internet Explorer 4.0 Refer to: filter BlendTrans() Blinds() (Filter/transition) A transition effect with the appearance of venetian blinds opening or closing. Availability: JScript 5 Internet Explorer 5 Refer to: filter Blinds() blob object (Object/NES) A special object that is designed to contain binary data extracted from a database or file. Availability: JavaScript 1.1 Netscape Enterprise Server 2.0 NES myBlob = blob() JavaScript syntax: NES myBlob = myCursor.colName.blobImage(…) Object methods: blobImage(), blobLink() A blobobject is so called because it encapsulates a Binary Large OBject or BLOB. This is a block of data, often quite large, that is stored in a binary form and which is likely to contain many non- printable characters and probably some nulls as well. You cannot instantiate a blobobject directly in JavaScript but you can obtain one by fetching the data from a database as shown in the example code.

JavaScript Programmer’s Reference (How to cite a web site) Property/method value type: Number primitive

Tuesday, October 16th, 2007

JavaScript Programmer’s Reference Property/method value type: Number primitive JavaScript syntax: -anOperand1 ^= anOperand2 anOperand1 A numeric value that can be assigned to Argument list: anOperand2 Another numeric value Bitwise XOR the right operand with the left operand and assign the result to the left operand. This is functionally equivalent to the expression: anOperand1 = anOperand1 ^ anOperand2; Performs a bit-by-bit XOR of the 32-bit values derived from both operands. Where a corresponding bit is different in both operands, a 1 bit will be inserted into the result. If the corresponding bit is identical in both operands, regardless of whether they both have a 1 bit or a zero bit, a zero will be inserted at that bit position in the result. Although this is classified as an assignment operator it is really a compound of an assignment and a bitwise operator. The associativity is right to left. Refer to the Operator Precedence topic for details of execution order. The new value of anOperand1is returned as a result of the expression. This is the truth table for two Boolean primitive values being operated on with the XOR operator A B XOR false false false false true true true false true true true false The bitwise operator performs this operation on each corresponding bit pair in the two operands. Warnings: . The operand to the left of the operator must be an LValue. That is, it should be able to take an assignment and store the value. See also: Assignment operator, Associativity, Bit-field, Bitwise operator, Bitwise XOR (^), LValue, Operator Precedence

B Bitwise XOR and (Web design online) assign (^=) (Operator/assignment)

Monday, October 15th, 2007

B Bitwise XOR and assign (^=) (Operator/assignment) Example code: See also: Associativity, Binary bitwise operator, Bit-field, Bitwise XOR and assign (^=),Logical XOR, Operator Precedence Cross-references: ECMA 262 edition 2 section 11.10 ECMA 262 edition 3 section 11.10 Bitwise XOR and assign (^=) (Operator/assignment) Destructively bitwise XOR two operands and store the result in the first. ECMAScript edition 2 JavaScript 1.0 JScript 1.0 Internet Explorer 3.02 Netscape 2.0 Netscape Enterprise Server 2.0 Opera 3.0 Availability:

JavaScript Programmer’s Reference Bitwise XOR (^) (Apache web server for windows) (Operator/bitwise) Bitwise

Sunday, October 14th, 2007

JavaScript Programmer’s Reference Bitwise XOR (^) (Operator/bitwise) Bitwise XOR one operand with another. Availability: ECMAScript edition 2 JavaScript 1.0 JScript 1.0 Internet Explorer 3.02 Netscape 2.0 Netscape Enterprise Server 2.0 Opera 3.0 Property/method value type: Number primitive JavaScript syntax: -anOperand1 ^ anOperand2 anOperand1 A numeric value Argument list: anOperand2 Another numeric value Performs a bit-by-bit XOR of the 32-bit values derived from both operands. Where a corresponding bit is different in both operands, a 1 bit will be inserted into the result. If the corresponding bit is identical in both operands, regardless of whether they both have a 1 bit or a zero bit, a zero will be inserted at that bit position in the result. The associativity is left to right. Refer to the Operator Precedence topic for details of execution order. This is the truth table for two Boolean primitive values being operated on with the XOR operator. A B XOR false false false false true true true false true true true false The bitwise operator performs this operation on each corresponding bit pair in the two operands. 1 0 1 1 0 1 1 0 1 1 1 0 1 1 0 1 1 1 0 1 1 0 1 1

B Bitwise unsigned shift right and assign (Web hosting directory)

Sunday, October 14th, 2007

B Bitwise unsigned shift right and assign (>>>=) (Operator/assignment) The associativity is right to left. Refer to the Operator Precedence topic for details of execution order. The new value of anOperand1is returned as a result of the expression. 0 1 1 0 1 0 1 0 1 1 0 1 00 1 1 1 0 1 0 1 1 1 1 0 1 00 Warnings: . The operand to the left of the operator must be an LValue. That is, it should be able to take an assignment and store the value. Assignment operator, Associativity, Bit-field, Bitwise operator, Bitwise shift left (<<), Bitwise shift left then assign (<<=), Bitwise shift operator, Bitwise shift right (>>), Bitwise shift right and assign (>>=), Bitwise unsigned shift right (>>>), LValue, Operator Precedence, Shift operator See also: Cross-references: ECMA 262 edition 2 section 11.13 ECMA 262 edition 3 section 11.13

JavaScript Programmer’s Reference Cross-references: ECMA 262 edition 2 (Michigan web site)

Saturday, October 13th, 2007

JavaScript Programmer’s Reference Cross-references: ECMA 262 edition 2 section 11.7.3 ECMA 262 edition 3 section 11.7.3 Bitwise unsigned shift right and assign (>>>=) (Operator/assignment) Destructively bitwise rightwards shift the first of two operands. Availability: ECMAScript edition 2 JavaScript 1.0 JScript 1.0 Internet Explorer 3.02 Netscape 2.0 Netscape Enterprise Server 2.0 Opera 3.0 Property/method value type: Number primitive JavaScript syntax: -anOperand1 >>>= anOperand2 anOperand1 A value to be shifted and assigned to Argument list: anOperand2 A distance to shift the left operand Bitwise unsigned shift rightwards the left operand by the number of bits in the right operand and assign the result to the left operand. This is functionally equivalent to the expression: anOperand1 = anOperand1 >>> anOperand2; The bitwise unsigned shift right operator converts its left operand to a 32 bit integer and moves it rightwards by the number of bits indicated by the right operand. The sign bit is not propagated. As the value is shifted rightwards, bits that roll out of the right end of the register are discarded. The left-hand end of the register containing the sign bit is zero-filled as the contents are shifted. Shifting rightwards by 32 bits will fill the left operand with all zero bits. Because the value is converted to an integer, any fractional part is discarded as the shift begins. The right-hand operand is converted to a 5-bit value with a bitwise mask to limit the distance of the shift to 32 bits. This can cause unexpected results if the right-hand side is derived from an expression that may yield a value larger than 32. Although this is classified as an assignment operator it is really a compound of an assignment and a bitwise operator.

B Bitwise (Web hosting domains) unsigned shift right (>>>) (Operator/bitwise)

Friday, October 12th, 2007

B Bitwise unsigned shift right (>>>) (Operator/bitwise) 0 1 1 0 1 0 1 0 1 1 0 1 00 1 1 1 0 1 0 1 1 1 1 0 1 00 Example code: See also: Associativity, Bit-field,Bitwise shift left (<<), Bitwise shift left then assign (<<=), Bitwise shift operator, Bitwise shift right (>>), Bitwise shift right and assign (>>=), Bitwise unsigned shift right and assign (>>>=), Operator Precedence, Shift operator

JavaScript Programmer’s Reference Bitwise (Web hosting contract) unsigned shift right (>>>)

Friday, October 12th, 2007

JavaScript Programmer’s Reference Bitwise unsigned shift right (>>>) (Operator/bitwise) Bitwise shift right one operand according to another. Availability: ECMAScript edition 2 JavaScript 1.0 JScript 1.0 Internet Explorer 3.02 Netscape 2.0 Netscape Enterprise Server 2.0 Opera 3.0 Property/method value type: Number primitive JavaScript syntax: -anOperand1 >>> anOperand2 anOperand1 A value to be shifted Argument list: anOperand2 A distance to shift the left operand This is sometimes called shift right with zero extension. The bitwise unsigned shift right operator converts its left operand to a 32 bit integer and moves it rightwards by the number of bits indicated by the right operand. The sign bit is not propagated. As the value is shifted rightwards, bits that roll out of the right end of the register are discarded. The left-hand end of the register containing the sign bit is zero-filled as the contents are shifted. Shifting rightwards by 32 bits will fill the register with all zero bits. Because the value is converted to an integer, any fractional part is discarded as the shift begins. The right-hand operand is converted to a 5-bit value with a bitwise mask to limit the distance of the shift to 32 bits. This can cause unexpected results if the right-hand side is derived from an expression that may yield a value larger than 32. The associativity is left to right. Refer to the Operator Precedence topic for details of execution order.

B Bitwise shift right and assign (>>=) (Adelphia web hosting)

Thursday, October 11th, 2007

B Bitwise shift right and assign (>>=) (Operator/assignment) The right-hand operand is converted to a 5-bit value with a bitwise mask to limit the distance of the shift to 32 bits. This can cause unexpected results if the right-hand side is derived from an expression that may yield a value larger than 32. Although this is classified as an assignment operator it is really a compound of an assignment and a bitwise operator. The associativity is right to left. Refer to the Operator Precedence topic for details of execution order. The new value of anOperand1 is returned as a result of the expression. 0 1 1 0 1 0 1 0 1 1 0 1 00 1 1 1 0 1 0 1 1 1 1 0 1 01 Warnings: . The operand to the left of the operator must be an LValue. That is, it should be able to take an assignment and store the value. Assignment operator, Associativity, Bit-field, Bitwise operator, Bitwise shift left (<<), Bitwise shift left then assign (<<=), Bitwise shift operator, Bitwise shift right (>>), Bitwise unsigned shift right (>>>), Bitwise unsigned shift right and assign (>>>=),LValue, Operator Precedence, Shift operator See also: Cross-references: ECMA 262 edition 2 section 11.13 ECMA 262 edition 3 section 11.13