Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 28 JUL 2005 06:31:08PM Ellen Fox wrote:

We have upgraded to Arev 3.12 within our code there is a function

entitled UNASSIGNED. I though this was used to check if a variable

was not unassigned, but I can't seem to get it to work. Does

anybody know anything about it?


At 28 JUL 2005 08:22PM Paul Rule wrote:

Thats correct.

In your program, use DECLARE FUNCTION UNASSIGNED

Then you can use it.

eg:

If UNASSIGNED(test) then test="


At 02 AUG 2005 04:26PM Jim Jefferson wrote:

And we use it a lot here, to make subroutines callable from other programs or the command line/VOC items, ala:

(not good code, but illustrative)

expendable subroutine xxx(arg1, arg2, etc.)

if (unassigned(arg1)) then

  • called from a command line; parse it for the args)
 cmd=@sentence
 arg1=field(cmd,' ',2)
 arg2=field(cmd,' ',3)
 ...and so on...

end


At 02 AUG 2005 08:41PM Ellen Fox wrote:

It was a variable definition issue. Thanks

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/4779bf456ca5d8338525704c007bb37d.txt
  • Last modified: 2023/12/28 07:39
  • by 127.0.0.1