#Basic -> ARexx
18-May-95 20:45:10
Sb: #46824-#Basic -> ARexx
Fm: Jim Butterfield 73624,14
To: Joe Lowery 72437,2354
Joe …
A few small technical details get in the way. You're generally on the right
track:
WRITECH() is a function. So, just like SQR() in Basic, you must do something
with the result it returns. Some examples:
IF WRITECH(…) THEN SAY 'OK'
CALL WRITECH(…)
Function WRITECH returns the count of characters sent. But it's OK to use
it as a boolean as in example 1, or throw away the return value with CALL.
WRITECH() takes two arguments: the file handle, and THEN the data to be
sent. So try:
CALL WRITECH(test,d2c(255))
… and I think things will start working OK.
–Jim