Integration
Language
Dozens of
events within the
Malvern Manifest System
(such as pressing the Print button) trigger customized
functions within your Malvern Link script.
These functions can simply import or export data or they can perform highly specialized
business rules designed to
automate your shipping process and reduce errors.
While Malvern Link shares much of its' syntax
with VBScript, it offers many time-saving features
not found in VBScript. For example, users are not limited by VBScript's stripped down features. Also included is a powerful editor and debugger.
As the table below shows, Malvern Link's
language features are nearly identical to VBA's. Malvern Link ActiveX
Scripting Control lets you use the same powerful editing and debugging
features you may be used to in Visual Basic. The only major difference is the forms editor is not as
advanced as in VBA. However, you can easily develop add-on functions in VB
(or other languages) and integrate to them from Malvern Link.
Feature Description |
Malvern Link |
VBScript |
VBA |
Abs |
√ |
√ |
√ |
Add |
√ |
|
√ |
Addition (+) |
√ |
√ |
√ |
All intrinsic data types except Variant |
√ |
|
√ |
All traditional Basic file I/O |
√ |
|
√ |
And |
√ |
√ |
√ |
AppActivate |
√ |
|
√ |
Array |
√ |
√ |
√ |
Asc |
√ |
√ |
√ |
AscB |
√ |
√ |
√ |
AscW |
√ |
√ |
√ |
Atn |
√ |
√ |
√ |
Call |
√ |
√ |
√ |
CBool |
√ |
√ |
√ |
CByte |
√ |
√ |
√ |
CCur |
√ |
√ |
√ |
CDate |
√ |
√ |
√ |
CDbl |
√ |
√ |
√ |
Chr |
√ |
√ |
√ |
ChrB |
√ |
√ |
√ |
ChrW |
√ |
√ |
√ |
CInt |
√ |
√ |
√ |
Clipboard |
√ |
|
√ |
CLng |
√ |
√ |
√ |
Collection access using ! |
√ |
|
√ |
Comments using ' or Rem |
√ |
√ |
√ |
Const |
√ |
√ |
√ |
Cos |
√ |
√ |
√ |
Count |
√ |
|
√ |
CreateObject |
√ |
√ |
√ |
CSng |
√ |
√ |
√ |
CStr |
√ |
√ |
√ |
CVar |
√ |
|
√ |
CVDate |
√ |
|
√ |
Date |
√ |
√ |
√ |
DateAdd |
√ |
√ |
√ |
DateDiff |
√ |
√ |
√ |
DatePart |
√ |
√ |
√ |
DateSerial |
√ |
√ |
√ |
DateValue |
√ |
√ |
√ |
Day |
√ |
√ |
√ |
Debug.Print |
√ |
|
√ |
Declare (for declaring DLLs) |
√ |
|
√ |
Declaring arrays with lower bound <> 0 |
√ |
|
√ |
Deftype |
√ |
|
√ |
DeleteSetting |
√ |
|
√ |
Dim |
√ |
√ |
√ |
Division (/) |
√ |
√ |
√ |
Do...Loop |
√ |
√ |
√ |
Empty |
√ |
√ |
√ |
End |
√ |
|
√ |
Equality (=) |
√ |
√ |
√ |
Eqv |
√ |
√ |
√ |
Erase |
√ |
√ |
√ |
Err |
√ |
√ |
√ |
Err Object |
√ |
√ |
√ |
Error |
√ |
|
√ |
Eval Function |
√ |
√ |
√ |
Execute Statement |
√ |
√ |
√ |
Exp |
√ |
√ |
√ |
Exponentiation (^) |
√ |
√ |
√ |
Expressions containing a range of values using the To keyword |
√ |
|
√ |
Expressions containing Is keyword
or any comparison operators |
√ |
|
√ |
False |
√ |
√ |
√ |
Fix |
√ |
√ |
√ |
Fixed-length strings |
√ |
|
√ |
For Each...Next |
√ |
√ |
√ |
For...Next |
√ |
√ |
√ |
Function |
√ |
√ |
√ |
Friend |
√ |
|
√ |
GetObject |
√ |
√ |
√ |
GetSetting |
√ |
|
√ |
GetSettings |
√ |
|
√ |
GoTo |
√ |
|
√ |
Greater Than (>) |
√ |
√ |
√ |
Greater Than or Equal To (>=) |
√ |
√ |
√ |
Hex |
√ |
√ |
√ |
Hour |
√ |
√ |
√ |
If...Then...Else |
√ |
√ |
√ |
Imp |
√ |
√ |
√ |
Inequality (<>) |
√ |
√ |
√ |
InputBox |
√ |
√ |
√ |
InStr |
√ |
√ |
√ |
InStrB |
√ |
√ |
√ |
InStrRev |
√ |
√ |
√ |
Int |
√ |
√ |
√ |
Integer Division (\) |
√ |
√ |
√ |
Is |
√ |
√ |
√ |
IsArray |
√ |
√ |
√ |
IsDate |
√ |
√ |
√ |
IsEmpty |
√ |
√ |
√ |
IsNull |
√ |
√ |
√ |
IsNumeric |
√ |
√ |
√ |
IsObject |
√ |
√ |
√ |
Item |
√ |
|
√ |
LBound |
√ |
√ |
√ |
LCase |
√ |
√ |
√ |
Left |
√ |
√ |
√ |
LeftB |
√ |
√ |
√ |
Len |
√ |
√ |
√ |
LenB |
√ |
√ |
√ |
Less Than (<) |
√ |
√ |
√ |
Less Than or Equal To (<=) |
√ |
√ |
√ |
Like |
√ |
|
√ |
Line labels |
√ |
|
√ |
Log |
√ |
√ |
√ |
LSet |
√ |
|
√ |
LTrim |
√ |
√ |
√ |
Mid |
√ |
√ |
√ |
Mid Statement |
√ |
|
√ |
MidB |
√ |
√ |
√ |
Minute |
√ |
√ |
√ |
Modulus arithmetic (Mod) |
√ |
√ |
√ |
Month |
√ |
√ |
√ |
MonthName |
√ |
√ |
√ |
MsgBox |
√ |
√ |
√ |
Multiplication (*) |
√ |
√ |
√ |
MyCollection!Foo |
√ |
|
√ |
Negation (-) |
√ |
√ |
√ |
New |
√ |
|
√ |
Nothing |
√ |
√ |
√ |
Now |
√ |
√ |
√ |
Null |
√ |
√ |
√ |
Oct |
√ |
√ |
√ |
On Error GoTo |
√ |
|
√ |
On...GoSub |
√ |
|
√ |
On...GoTo |
√ |
|
√ |
OnError |
√ |
√ |
√ |
Option Base |
√ |
|
√ |
Option Explicit |
√ |
√ |
√ |
Optional |
√ |
|
√ |
Or |
√ |
√ |
√ |
ParamArray |
√ |
|
√ |
Private |
√ |
√ |
√ |
Private |
√ |
√ |
√ |
Project References |
√ |
|
√ |
Property Get |
√ |
√ |
√ |
Property Let |
√ |
√ |
√ |
Property Set |
√ |
√ |
√ |
Public |
√ |
√ |
√ |
Randomize |
√ |
√ |
√ |
ReDim |
√ |
√ |
√ |
Replace |
√ |
√ |
√ |
Resume Next |
√ |
|
√ |
RGB Function |
√ |
√ |
√ |
Right |
√ |
√ |
√ |
RightB |
√ |
√ |
√ |
Rnd |
√ |
√ |
√ |
Round |
√ |
√ |
√ |
RSet |
√ |
|
√ |
RTrim |
√ |
√ |
√ |
SaveSetting |
√ |
|
√ |
Second |
√ |
√ |
√ |
Select Case |
√ |
√ |
√ |
SendKeys |
√ |
|
√ |
Set |
√ |
√ |
√ |
Sgn |
√ |
√ |
√ |
Shell |
√ |
|
√ |
ShipGetField |
√ |
|
|
ShipSetField |
√ |
|
|
Sin |
√ |
√ |
√ |
Space |
√ |
√ |
√ |
Sqr |
√ |
√ |
√ |
Static |
√ |
|
√ |
Stop |
√ |
|
√ |
Str |
√ |
|
√ |
StrComp |
√ |
√ |
√ |
StrConv |
√ |
|
√ |
String |
√ |
√ |
√ |
String concatenation (&) |
√ |
√ |
√ |
StrReverse |
√ |
√ |
√ |
Sub |
√ |
√ |
√ |
Subtraction (-) |
√ |
√ |
√ |
Tan |
√ |
√ |
√ |
Time |
√ |
√ |
√ |
TimeSerial |
√ |
√ |
√ |
TimeValue |
√ |
√ |
√ |
Trim |
√ |
√ |
√ |
True |
√ |
√ |
√ |
Type...End Type |
√ |
|
√ |
TypeName |
√ |
√ |
√ |
TypeOf |
√ |
|
√ |
UBound |
√ |
√ |
√ |
UCase |
√ |
√ |
√ |
Val |
√ |
|
√ |
VarType |
√ |
√ |
√ |
Wait |
√ |
|
|
Weekday |
√ |
√ |
√ |
WeekdayName |
√ |
√ |
√ |
While...Wend |
√ |
√ |
√ |
With |
√ |
√ |
√ |
Xor |
√ |
√ |
√ |
Year |
√ |
√ |
√ |
|
|