Jump to content
UBot Underground

Create Table Headers Command


Recommended Posts

It will not change your life, but I used to use set Table Cell for sometimes long complicated tables,lot of dragging dropping and filling out the command, if you havn't already thought of this, it will help you out

Create Table Headers("url,price,description,rating")
define Create Table Headers(#seperate by comma) {
    add list to list(%fields,$list from text(#seperate by comma,","),"Don\'t Delete","Local")
    set(#position,0,"Local")
    loop($list total(%fields)) {
        set table cell(&result,0,#position,$list item(%fields,#position))
        increment(#position)
    }
}

  • Like 1
Link to post
Share on other sites

Nice! Way to use that brain....

 

Here is another look at it...

add list to table as row(&my table,0,0,$list from text("shoes,shirts,pants,fart sprays",","))

Best intentions,

Nick

 

each time I see someone on here using a list command without actually initializing a list, I think nice... I'm going to do that from now on, but keep forgetting! I always initialize a list!

  • Like 1
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...