Enable JavaScript to interact with content and submit forms on Wolfram websites. Learn how

Legacy Documentation

Mathematica 8 (2010)

This is documentation for Mathematica 8, which was
based on an earlier version of Wolfram Language.
View current documentation (Version 14.3)

CBlock

CBlock[args]
is a symbolic representation of a block of statements.
  • SymbolicC expressions are inert; they evaluate to themselves staying in an unevaluated form.
  • SymbolicC expressions can be converted into a C string with ToCCodeString .
  • adds semicolons to its arguments and places each on a new line when it is converted into a C string.
(1)
To use SymbolicC you first need to load the package:
This creates an entire block of code:
To use SymbolicC you first need to load the package:
This creates an entire block of code:
Out[2]=


ja zh

AltStyle によって変換されたページ (->オリジナル) /