Search Results for function

 

Function

A special type of Private Method, called a Private Function, is intended to return a single value or multiple values simultaneously.

 

 

 

Num

Takes 6 parameters, FieldBase, Destination, Function, Source, Value, IfLenFld

 

Value

Takes four parameters, FieldBase, Destination, Function, IfLenFld

 

Text

Takes six parameters, FieldBase, Destination, Function, Source, Value, IfLenFld

 

Simple To Do App with MEAN Stack Comparison

In this example, we use a plain old Moxie.Build system and compare it to the MEAN Stack equivalent by building two functionally equivalent versions of a fleshed out To Do List Application. Both versions utilize local user authentication, a relational database system and the security measures found in typical production-level applications on the web today.

 

Left$

Takes two parameters, Source, Value

 

LastAny$

Takes two parameters, Source, Search

 

Lang$

Takes four parameters, FieldBase, Destination, Source, IfLenFld

 

Len$

Takes one parameter, a Source value

 

HtmlBlocks / End HtmlBlocks

Takes two parameters, Location, Mode

 

Len%

Takes one parameter, a Source value

 

IsGroupType$

Takes two parameters: Username, GroupTypes

 

InStr%

Takes two parameters, Source, Match

 

Http$

Takes 9 parameters, ServerName, Port, bSecure, Mode, Path, [ContentType], [extraHeader], [body], [rtnHeaders]

 

FieldDef$

Takes one parameter, FieldName

 

InStrAny$

Takes two parameters, Source, Match

 

InStrAny%

Takes two parameters, Source, Match

 

InStr$

Takes two parameters, Source, Match

 

WebSafe$

Takes one parameter, Source

 

Similar$

Takes 2 parameters, pString1, pString2

 

Similar%

Takes 2 parameters, pNum1, pNum2

 

FixFields

Takes one parameter, a single character

 

HttpCookie

Takes 6 parameters, Name, Value, Path, Domain, Expires, Other

 

HtmlBlock / End HtmlBlock

Takes two parameters, Location, Mode

 

Right$

Takes two parameters, Source, Value

 

RecoverHtmlObj$

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

 

RecoverHtml$

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

 

LongDate$

Takes one parameter, a Date value

 

JsonStream

Used to manipulate a WorkQuery into a JSON type

 

MergeRecords

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

 

ParseRecords

Takes two parameters, WorkFieldBase + FieldToParse, Delimiter

 

Remote Method

A Remote Method may be called by any other Moxie system. It can be used to divide up a large system among a number of backend servers, or as a public API for 3rd parties. In order to call a Remote Method from MOX, the Remote statement is used.

 

Syntax and Builtin Values, Procedures and Code Documentation

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

 

CFPurge

Takes one parameter, the URL to purge from CloudFlare's cache

 

Foreign

Takes a single parameter, a QueryName

 

Critical

Takes one parameter, the Name of the critical section

 

 

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.

 

Overview for PHP Developers

This hands-on experience article is written by an experienced PHP developer, and serves as an overview to help you understand the similarities and differences.

 

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.

 

Privacy Policy

This is our current Privacy Policy, last updated 2016-01-12.

 

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

Takes a variable number of conditional statements

 

ApplyLang$

Takes one parameter

 

[WQFieldList]

Has no parameters

 

CFApi$

Takes three parameters Method, URL, Body

 

ExtractAny$

Takes two parameters, Source , Search

 

CheckPw$

Takes two parameters, the User Alias, and the User PW to check

 

Prefix

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

 

Macro

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

 

Return

Takes a variable number of parameters.

 

CloudFlare Integration

CloudFlare is a first and foremost a Web Application Firewall and Content Distribution Network, among other additional services

 

SaveFile

Takes two parameters, FileName, FileData