Skip to content

tablefuncs

Eric Davis edited this page Apr 2, 2018 · 1 revision
Table Of Contents

Introduction

  • Author: Bast
  • a plugin for table functions

Installation

Help

    functions in this module
    
    tableSort
         sort the table by the keys or an internal key to each table, will sort string or integer keys
    
      > test = {}
      > test['a'] = {}
      > test['b'] = {}
      > test['b']['sortlev'] = 40
    
      Example 1
      > for i,v in tableSort(test) do
         print(i)
        end
    
      returns
       a
       b
    
      Example 2
      > for i,v in tableSort(test, 'sortlev', 50) do
         print(i)
        end
    
      returns
       b
       a
    
    tableExtend
        extend a table by adding another table

General Information

Intro
Installation
Troubleshooting
Tips For VI Users
FAQ
Creating Plugins Based On Bastmush

Plugin Information

Bastmush Plugins

Internal bastmush Plugins (do not load these unless needed)

Support files for bastmush

Modified Plugins from other sources

Clone this wiki locally