Developer's guide

From SPEDAS Wiki
Revision as of 01:29, 11 February 2014 by Nikos (talk | contribs)
Jump to navigation Jump to search

Stub for page for the Developer's Guide.

Test for syntax highlighting

This is PHP: <syntaxhighlight lang="php"> <?php

   $v = "string";    // sample initialization

?> html text <?

   echo $v;         // end of php code

?> </syntaxhighlight>

This is IDL: <source lang="idl">

x = findgen(100)/10
y = sin(x)/x
plot,x,y


OUTPUT
Size of largest contiguous memory block available to IDL in megabytes.
-

function get_max_memblock

compile_opt idl2, hidden

MB = 2L^20  ; one megabyte cblockSize = MB * 2047  ; two gigabytes end </source>


<syntaxhighlight lang="-"></syntaxhighlight>