Developer's guide: Difference between revisions

From SPEDAS Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 15: Line 15:


This is IDL:
This is IDL:
<syntaxhighlight lang="fortran">
<syntaxhighlight lang="idl">


;OUTPUT:
;OUTPUT:
Line 30: Line 30:
end
end
</syntaxhighlight>
</syntaxhighlight>
<syntaxhighlight lang="-"></syntaxhighlight>

Revision as of 01:13, 11 February 2014

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: <syntaxhighlight lang="idl">

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 </syntaxhighlight>


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