Search Results for syntax

 

MOX Coding and Programing Language Syntax Documentation

The MOX coding and programming language pays heritage to BASIC, but has been crafted for the specific type of work and environment that is demanded of Moxie.Build.

 

HtmlUpload

Takes seven parameters, Location, Mode, Prompt, Path, Class, Name, HelpText

 

HtmlHistory

Takes two parameters, Title, Path

 

Login

Takes three parameters, Login, Password, bRememberMe

 

ListFiles

Takes 3 parameters, Folder, Filter, bShowImgSize

 

InStrAny$

Takes two parameters, Source, Match

 

InStrAny%

Takes two parameters, Source, Match

 

SessionIsGroupType$

Takes one parameter, a List of possible group types

 

Login$

Takes three parameters, Login, Password, bRememberMe

 

HtmlNav

Takes 7 parameters, Location, Mode, Title, TitleLink, Class, HtmlPre, HtmlApn

 

HtmlETable

Takes 6 parameters, Location, Mode, Div, Data, Script, Extra

 

HtmlTab

Takes 3 parameters, Location, Mode, bWithNoHeader

 

HtmlNavbar

Takes 10 parameters, Location, Mode, Title, TitleLink, Class, Fixed, bUseContainer, bNotResponsive, bInverted, HtmlPre, HtmlApn

 

PickFirstField

Takes three parameters, FieldBase, Destination, SourceFields

 

LoadNulFile

Takes two parameters, FileName, bHasHeader

 

HtmlDTable

Takes 5 parameters, Location, Mode, Class/ID, Init, bNoAutoAlign

 

Pull

Takes three parameters, QueryName, FieldBase, FieldNames

 

OnError (Continue)

Used as a scoping keyword, similar to WorkWith/End WorkWith .

 

[Pull] List of Fields from another Query

Takes three parameters, QueryName, FieldBase, FieldNames

 

Select / Case / End Select

Takes a variable number of conditional statements to compare against a single source

 

[If] Assignment (DB Field Attribute)

Parameter is divided into two parts, the Test and the Result if True. The test comes prior to the keyword of Then and the Result if True comes after.

 

Public Method

A Public Method may be called from any other Procedure, by the Default plug-in, or a Custom COM DLL. Each Public Method may either use specific Input Parameters, or it may accept an Input Query.

 

If (Not) / And / Or / ElseIf / End If

Takes a variable number of conditional statements

 

Command Line with .mox file

A .mox file, with MOX code in it, can be run from the command line while a Moxie.Build system is not otherwise already running.

 

[If] Assignment (Top Query)

Parameter is divided into two parts, the Test and the Result if True. The test comes prior to the keyword of Then and the Result if True comes after.

 

InStr%

Takes two parameters, Source, Match

 

InStr$

Takes two parameters, Source, Match

 

Moxie.cfg Config

The Moxie.cfg file is read on server start and controls aspects that cannot be changed while the server is running.

 

Using the Backtick `

Some Work Query command parameters can accept a source of either a Work Query Field name or a text literal. Text literals in these cases are prefixed with a backtick ` character.

 

[CountIf]

Takes one parameter, TestCondition