ATSETGLOBVAL creates the global variable GLOBVAL and adds Energy as a field NOTES 1. This use of global variables is deprecated, but for backwards compatibility, this is sometimes necessary. See also ATDISPLAY
0001 function atsetglobval(Energy) 0002 %ATSETGLOBVAL creates the global variable GLOBVAL and adds Energy 0003 %as a field 0004 % 0005 % NOTES 0006 % 1. This use of global variables is deprecated, but for backwards 0007 % compatibility, this is sometimes necessary. 0008 % 0009 % See also ATDISPLAY 0010 0011 global GLOBVAL 0012 0013 GLOBVAL.E0 = Energy;