View Single Post
Old 07 October 2015, 23:47   #7
idrougge
Registered User
 
Join Date: Sep 2007
Location: Stockholm
Posts: 4,342
Quote:
Originally Posted by daxb View Post
I guess you send a message (some kind of string? file name?) to port 'HASH' and it makes a checksum from it? This checksum string you want to send back but it doesn`t work because "Reply(paket,svar)" only support an integer number as result code.
Correct.

Quote:
Originally Posted by daxb
It would be interesting to know how the script/command/whatever looks/works you used to send messages to port 'HASH'.
For the moment, it's just a small loop used to evaluate the program:
Code:
/* rexx */
options results
do forever
	parse pull ord
	address 'HASH' ord
	say rc':' result
	end
Quote:
Originally Posted by daxb
Without that information I would guess at moment that using three different RC values with Reply(paket, rc)
What you just wrote there solved my problem! It turns out that Reply() can take three arguments, unlike what's stated in the manual. The full syntax is Reply(packet_id,rc_value,result_value). So now it works! Thanks!
idrougge is offline  
 
Page generated in 0.04224 seconds with 11 queries