Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
macros [2018/12/07 13:58]
johnsoevans
macros [2018/12/07 13:59]
johnsoevans
Line 5: Line 5:
 The page [[all_macros]] contains many macros in a single file. The page [[all_macros]] contains many macros in a single file.
  
-You can just copy/paste a macro into an INP file OR (not and!) place it in "​local.inc"​ which is in the main topas directory. ​ Note that you topas will throw an exception if a macro is defined twice.+You can just copy/paste a macro into an INP file OR (not and!) place it in "​local.inc"​ which is in the main topas directory. ​ Note that you topas will throw an exception if a macro is defined twice.  You can learn the syntax by looking at the predefined macros which are in topas.inc. ​ There'​s also a great forum post on this by Matthew Rowles.
  
 \\ \\

Personal Tools