/* -*- eval: (orgtbl-mode); -*- */ /* #+ORGTBL: SEND mytable orgtbl-to-generic :lstart " const float " :sep " = " :skip 1 :lend ";" :skipcols (2 3) | parameter | numerator | denominator | value | |-----------+-----------+-------------+----------| | a | 3.0 | 3.0 | 1.00000 | | b | 14.0 | 7.0 | 2.00000 | | c | -2.0 | 15.0 | -0.13333 | #+TBLFM: $4=$2/$3;f5 With point in above table, "C-u C-u C-c C-c" will update formulae and install into C source */ void main() { // BEGIN RECEIVE ORGTBL mytable const float a = 1.00000; const float b = 2.00000; const float c = -0.13333; // END RECEIVE ORGTBL mytable }