[Mumps2Py:] [22] example Mumps file which demonstrate the $ASCII intrinsic function. |
[ Thread Index |
Date Index
| More lists.mumps2py.org/discuss Archives
]
Revision: 22
Author: pgallot
Date: 2008-01-18 16:34:53 +0000 (Fri, 18 Jan 2008)
Log Message:
-----------
example Mumps file which demonstrate the $ASCII intrinsic function.
Added Paths:
-----------
trunk/testfiles/for_ascii_f.mps
Added: trunk/testfiles/for_ascii_f.mps
===================================================================
--- trunk/testfiles/for_ascii_f.mps (rev 0)
+++ trunk/testfiles/for_ascii_f.mps 2008-01-18 16:34:53 UTC (rev 22)
@@ -0,0 +1,5 @@
+ FOR i=1:1:5 WRITE !,$A("HOWDY",i)
+ FOR i=1:1:5 WRITE !,$E("HOWDY",i),":",$A($E("HOWDY",i,5))
+ FOR i=1:1:5 DO
+ . WRITE !,$E("HOWDY",i,5),":"
+ . FOR j=i+1:1:6 WRITE $A($E("HOWDY",i,5),j-i),","