User:Malcolm/sandbox1: Difference between revisions
Jump to navigation
Jump to search
(Created page with 'Some PG code raw loadMacros( "PG.pl", "PGbasicmacros.pl", "PGchoicemacros.pl", "PGanswermacros.pl", "PGauxiliaryFunctions.pl" ); TEXT(beginproblem()); $showPartialCo…') |
No edit summary |
||
Line 48: | Line 48: | ||
Using <nowiki> <syntaxhighlight lang="perl" enclose="div" highlight="9"> </nowiki> | Using <nowiki> <syntaxhighlight lang="perl" enclose="div" highlight="9"> </nowiki> | ||
<syntaxhighlight lang="perl" enclose=" | <syntaxhighlight lang="perl" enclose="div" highlight="9"> | ||
loadMacros( | loadMacros( | ||
"PG.pl", | "PG.pl", |
Revision as of 22:27, 3 June 2011
Some PG code raw
loadMacros(
"PG.pl", "PGbasicmacros.pl", "PGchoicemacros.pl", "PGanswermacros.pl", "PGauxiliaryFunctions.pl" ); TEXT(beginproblem()); $showPartialCorrectAnswers = 1;
as <code>
loadMacros(
"PG.pl",
"PGbasicmacros.pl",
"PGchoicemacros.pl",
"PGanswermacros.pl",
"PGauxiliaryFunctions.pl"
);
TEXT(beginproblem());
$showPartialCorrectAnswers = 1;
Using <syntaxhighlight>
<syntaxhighlight> loadMacros(
"PG.pl", "PGbasicmacros.pl", "PGchoicemacros.pl", "PGanswermacros.pl", "PGauxiliaryFunctions.pl" ); TEXT(beginproblem()); $showPartialCorrectAnswers = 1;
</syntaxhighlight>
Using <syntaxhighlight lang="perl" enclose="div" highlight="9">
<syntaxhighlight lang="perl" enclose="div" highlight="9">
loadMacros( "PG.pl", "PGbasicmacros.pl", "PGchoicemacros.pl", "PGanswermacros.pl", "PGauxiliaryFunctions.pl"
);
TEXT(beginproblem());
$showPartialCorrectAnswers = 1;
</syntaxhighlight>