Difference between revisions of "User:Malcolm/sandbox1"

From WeBWorK_wiki
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…')
 
m (marked for deletion)
 
(3 intermediate revisions by one other user not shown)
Line 46: Line 46:
 
</syntaxhighlight>
 
</syntaxhighlight>
   
Using <nowiki> <syntaxhighlight lang="perl" enclose="div" highlight="9"> </nowiki>
+
Using <nowiki> <syntaxhighlight lang="perl" enclose="div" highlight="7,9-11"> </nowiki>
   
<syntaxhighlight lang="perl" enclose="none" highlight="9">
+
<syntaxhighlight lang="perl" enclose="div" highlight="7,9-11">
 
loadMacros(
 
loadMacros(
 
"PG.pl",
 
"PG.pl",
Line 62: Line 62:
   
 
</syntaxhighlight>
 
</syntaxhighlight>
  +
  +
[[User:Malcolm|Malcolm]] 17:34, 25 June 2011 (UTC)
  +
  +
[[Category:Needs_Deletion]]

Latest revision as of 16:38, 16 June 2021

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="7,9-11">

<syntaxhighlight lang="perl" enclose="div" highlight="7,9-11">

loadMacros(
"PG.pl",
"PGbasicmacros.pl",
"PGchoicemacros.pl",
"PGanswermacros.pl",
"PGauxiliaryFunctions.pl"

);

TEXT(beginproblem());

$showPartialCorrectAnswers = 1;

</syntaxhighlight>

Malcolm 17:34, 25 June 2011 (UTC)