Anonymous user
Transportation problem: Difference between revisions
→{{header|REXX}}: flagged as needing improvement, this REXX program is receiving syntax errors from two different Classic REXX interpreters.
Walterpachl (talk | contribs) m (→{{header|REXX}}: remove debug remains) |
(→{{header|REXX}}: flagged as needing improvement, this REXX program is receiving syntax errors from two different Classic REXX interpreters.) |
||
Line 3,906:
=={{header|REXX}}==
{{improve|REXX| <br> Please use a Classic REXX such as Regina and re-run this program. <br><br>}}
Regina REXX (when invoked with no arguments, yields: <br><br>
125 +++ Do i=1 To numSources
7 +++ Call init
Error 41 running "c:\walter.1", line 125: Bad arithmetic conversion
Error 41.1: Non-numeric value ("") to left of arithmetic operation "unknown"
R4 REXX yields:
Invalid operator character sequence
Error detected at line 86 offset 10
Source line:
cost+=m.r.c*costx.r.c
^
There are several more messages of the (above) type.
Perhaps a display of the input file would help, or at least state the contents
of the input file are the same as shown for the programming solution for the
XXX language.
<lang rexx>/* REXX ***************************************************************
* Solve the Transportation Problem using Vogel's Approximation
|