Welcome, Guest. Please login or register.

Author Topic: Problems with PARSE (Rexx)  (Read 1753 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: Problems with PARSE (Rexx)
« on: July 31, 2006, 02:21:42 AM »
@iamaboringperson
Quote
Surely there is some way around this problem?

As usual ARexx itself is ok, but your code is not. ARexx is very frustrating in this respect, it's so flexible it lets thru almost anything without error messages. :-)

Specifically:
Code: [Select]
PARSE VAR BLAH WITH num1'.'num2'.'num3
...is wrong. With that code the first value is assigned to variable called 'WITH'.

Either remove WITH or use:
Code: [Select]
PARSE VALUE BLAH WITH num1'.'num2'.'num3