Jump to content
UBot Underground

in version 5.0, list commands changed syntax/semantics?


Recommended Posts

I have a following code that were working when on 4.2.16, but once upgrade to 5.0, not work anymore.

 

    add list to list(%lines$list from file(#pidsFile), "Delete""Local")
    set(#line$list item(%lines, 0), "Local")

 

I changed to do the following instead and it works

 

   set(#line$read file(#pidsFile), "Global")

 

I was not able to find any documentation about the change, anyone can help here?

 

Also, for the following code, what shall I do to make it work?

 

    clear list(%pids)

    add list to list(%pids$find regular expression(#line"[0-9]+"), "Delete""Local")
    set(#pid$list item(%pids, 2), "Local")

 

 

Edited by tee3141
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...