WhizQuiz© 2 Documentation

4. General Information (comments, filenames, etc.)

WhizQuiz© uses either double-slashes (//) or the pound sign (#) to indicate comments. A WhizQuiz© comment is used to include information in a quiz file for use by the authors or others but that will be ignored by WhizQuiz© and not displayed. To place a comment in a quiz file or to comment out a line of code, place one of the comment indicators at the beginning of each line to be ignored. Authors often number each question in the quiz file by including a commented line with the question number before each question. JavaScript comments are also indicated with double-slashes (//). This can occasionally cause a problem when JavaScript comments need to be included for functionality such as this when they are used in conjunction with HTML comments for hiding JavaScript from old browsers.

Since WhizQuiz© runs on a UNIX operating system, quiz files and associated image files must follow the UNIX file-naming guidelines. Filenames must not include the following characters: / | \ ( ) * & % ! < > " ' ; , ? or periods. Filenames are case-sensitive. Spaces in filenames are invalid (use underscores instead). Beware that some text editors append a ".txt" extension to the filename when you save it. Be sure to remove that from the filename before you upload your quiz, otherwise your quiz will have the URL of :

http://www.myserver.edu/whizquiz/quiz.cgi?file=filename_txt

When including URLs in WhizQuiz, follow the conventional syntax of:

http://www.myserver.edu/some_directory/somefile.html

You may use relative addressing of URLs only if you include a BASE tag in the Quiz Header.


TOC - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10


WhizQuiz© v.2.0
Developed at ISIS, Virginia Tech
Send comments to the Developers

Copyright © 1996-1999, Virginia Tech, All Rights Reserved.