Skip to content

Instantly share code, notes, and snippets.

View coramuirgen's full-sized avatar

Cora Muirgen coramuirgen

View GitHub Profile
@coramuirgen
coramuirgen / Records Input Parse.vbs
Last active July 5, 2016 09:10
Records Input Parse
Public Function PrepareFromInput(inputrecords As QueryableRecords, inputhasheader As RecordsHeaderType, ParamArray paraminput() As Variant) As QueryableRecords
On Error GoTo ErrHandler
' Input data supported:
' scalar value(s)
' arrays (single/multi dimensional)
' tuples (2-index)
' assocs (value must be scalar)
' lists/collections/enumerables/iterables
' map objects like Scripting.Dictionary (key:column name)/(value: field value or column of field values)
@coramuirgen
coramuirgen / args syntax.vb
Last active April 29, 2016 15:42
Args Syntax
'| file dialog's file filter data
' mask , name, index
' *.* , All , 1
' *.txt, Text, 2
' etc...
' method 1: row-based
' named columns: