Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
33 user(s) are online (23 user(s) are browsing Forums)

Members: 0
Guests: 33

more...

Headlines

Report message:*
 

Re: The AREXX thread (Questions, hints, ideas)

Subject: Re: The AREXX thread (Questions, hints, ideas)
by jabirulo on 2021/9/22 17:45:25

(http://aminet.net/util/rexx/ARexxGuide2_0A.lha)

SETCLIP() returns BOOL value, so it returns 1 on the console and "finds" 1.rexx and runs it.

just put/add a return variable to store the return value:
rv = SETCLIP()

...
rv = SETCLIP(<clipname>, [<value>])()
rv is a Boolean value

Sets the <value> associated with <clipname> or deletes the named clip if <value> is not specified. The search for <clipname> within the clip
list is case sensitive.

Example:
say setclip('Molloy','Samuel Beckett'); >>> 1
say getclip('Molloy'); >>> Samuel Beckett


Also see GETCLIP
RXSET command
...


RX command help:
..
EXAMPLES
1> RX script.rexx arguments

Launch the ARexx command "script.rexx"; note that the command name suffix is omitted and defaults to ".rexx"

1> RX script arguments

Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project