Wrox Programmer Forums
|
BOOK: Beginning JavaScript
This is the forum to discuss the Wrox book Beginning JavaScript by Paul Wilton; ISBN: 9780764544057
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning JavaScript section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 13th, 2003, 06:01 PM
Friend of Wrox
 
Join Date: Jul 2003
Posts: 128
Thanks: 0
Thanked 0 Times in 0 Posts
Default Syntax question

Hi All,

I am a beginner in Javascript, and I have been reading through some codes developed by some programmers. I notice there are some very common codes that they tense to use, but I don't understand them. Please help explain. Thank you. Here they are:

What is the purpose of this? (especially the second line: var i=0....)
x = x - 1
for (var i = 0; i <= x; i++)

I know this one declars a variable, but how come they separate "script_name, copyright, email" with commas?
var set_up_var = doall(script_name, copyright, email)







Similar Threads
Thread Thread Starter Forum Replies Last Post
Another newb syntax question mean34dean Access VBA 4 April 4th, 2008 07:45 AM
SQL Syntax question ThomasWikman BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 4 May 7th, 2007 01:25 AM
syntax question Tachyon Beginning PHP 4 July 14th, 2004 07:40 PM
sql access syntax question using "LIKE" katie456 SQL Server 2000 3 October 10th, 2003 05:49 PM
Syntax question please. savoym VBScript 2 August 12th, 2003 12:41 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.