Search Results for block

 

HtmlBlocks / End HtmlBlocks

Takes two parameters, Location, Mode

 

HtmlBlock / End HtmlBlock

Takes two parameters, Location, Mode

 

Rem / EndRem

A type of Prefix which allows the developer to separate blocks of code into organized, defined parts to help provide clarity of the logical block and add structure to the code.

 

Prefix

Takes a single string as parameter, which is then appended to each line in the code block.

 

Lang$

Takes one parameter, Source

 

Ctid$

Has one parameter.

 

LoadFile$

Takes three parameters, FilePath, Start, Len

 

RecoverHtml$

Takes one parameter, EscapedHTMLString, and returns the Unescaped Version of this string

 

Login$

Takes three parameters, Login, Password, bRememberMe

 

Moxie.cfg Config

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

 

Select / Case / End Select

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

 

SaveFile

Takes two parameters, FileName, FileData

 

Throttle / End Throttle

Takes one parameter, SlowWritePercent

 

WorkIf

Takes one parameter, FieldName

 

Try / Catch / Finally / End Try

A traditional way to check for hard errors and enable those errors to error softly.

 

SetIf

Takes six parameters, FieldBase, Destination, Source, Left, Comparison, Right

 

Pull

Takes three parameters, QueryName, FieldBase, FieldNames

 

Pivot

Takes two parameters, FieldBase, PivotField

 

HtmlNav

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

 

HtmlETable

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

 

HtmlNavbar

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

 

ParseRecords

Takes two parameters, WorkFieldBase + FieldToParse, Delimiter

 

Login

Takes three parameters, Login, Password, bRememberMe

 

Lang

Takes four parameters, FieldBase, Destination, Source, IfLenFld

 

RecoverHtmlObj$

Takes one parameter, EscapedHTMLString, and returns the Unescaped Version of this string

 

MergeRecords

Takes 5 parameters, FieldBase, GroupBy, MergeField, Delimiter, bKeepBlanks

 

Format

Takes five parameters, FieldBase, FieldList, Mask, bBlanks2Zero, IfLenFld

 

SkipCalls

Takes no parameters

 

Folder and File Structure

Brief overview on the file structure and contents under Moxie. The files and folders discussed in this post are those that are essential when upgrading to the most recent version of Moxie.Build , or when troubleshooting server errors.

 

Export and Import of Database Schema

ExportSchema and ImportSchema are BuiltIn procedures that are available for use with source control systems.

 

Include

An Include Procedure cannot be executed directly, the contents of its source code can only be Included into other Procedures using the Include command.

 

File

Takes three parameters, Destination, Action, Source

 

AppendFile

Takes two parameters, FileName, FileData

 

Learn More about Frontend Development

Prerequisites: This tutorial assumes that you have already set up a Category and Procedure if necessary. This page covers some of the basics that are involved in Front End development using the MOX language.

 

Get Started with Setting up the Development Environment

Developing in Moxie.Build on localhost give you the advantage of working with the template files natively. When working on procedures (MOX code) you need to access that through the Procedures page in the Admin area of a Moxie.Build system, if running the server on localhost or on a remote server. When running on a remote server, you can edit the template files via the Files page in the Admin area.

 

Help with Markdown

Markdown enables simple formatting of plain text via easy to remember conventions. This page will provide you with some pointers on what formatting options are available with "Moxie Flavored Markdown".

 

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.

 

Style Guide, Procedures and Code Documentation

In order for source code to be more readily readable across teams, it is recommended that your source code always be styled according to this style guide.

 

Macro

A set of instructions that can be called with parameters to run in the current scope.

 

Include

Takes one parameter, ProcedureName

 

Meta

Takes any unspecified data, intended for use by external systems

 

[Pull] List of Fields from another Query

Takes three parameters, QueryName, FieldBase, FieldNames

 

Method

Private Method contained within a given procedure.

 

Foreign

Takes a single parameter, a QueryName

 

Folder

Takes three parameters, FolderPath, Action, Source

 

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

Takes a variable number of conditional statements

 

Image

Has 4 parameters, Destination, Action, Source, Value

 

If (Not) / Then

Takes a single Field name, with an optional Not operator, followed by the conditional statement