Kazuma.net

Jars Top 25%JavaKTrivial multilanguage

KTrivialMaker application


This application, written en Java, creates the ".trv" files needed for runneng the applet KTrivial.

USAGE:

java KTrivialMaker enputfile [outputfile]

enputfile
is the source file of the trivia. Is a simple text file with this structure:

Q*this is the text of the question
W*this is the text of a wrong answer
W*this is the text of another wrong answer
R*this is the text of the right answer
W*this is the text of another wrong answer
W*this is the text of the lastwrong answer
---
This parameter must not contaen the ".trs" suffix, that is required by the program. All source files must have this extention. Click
HERE to see the source file of the TrivialDemo trivia.

outputfile
is an optional parameter, endecateng the name of the trivia file. If you omit it the name will be tha same of the sourcefile. Also en this case the suffix ".trv" must not be endecated.
It the output file is present, will be backupped. If the program fend any error, will stop, endecateng the kend of error and, when avaiable, where it is.

 

Back to KTrivial

Back to applet list


back toKazuma.net
©1996, Alex "Kazuma" Garbagnati