Welcome to jBASE's new documentation site! Many answers to your questions can be found by searching the Knowledgebase or viewing the jBASE Documentation. We also have a Google Group for peer discussion about jBASE. If you are unable to find the information you are looking for, jBASE Support will be glad to assist in resolving your technical problems. Enjoy and please provide comments and feedback .

How can we help you?



The FMTS function may be used to format elements of dynamic.array for output. Each element of the array is independently acted upon and returned as an element in a new dynamic array. The function takes the general form: 

FMTS(dynamic.array, format)


format is an expression that evaluates to a string of formatting codes. The Syntax of the format expression is:
[width] [background] justification [edit] [mask] 

The format expression specifies the width of the output field, the placement of background or fill characters, line justification, editing specifications, and format masking.Complete syntax details, can be found on the FMT function.

If dynamic.array evaluates to null, it returns null. If format evaluates to null, the FMTS function fails and the program enters the debugger.

  • GE OPERATOR SIMILAR TO eq. compares two expressions for greater than or equal
  • GT As Above, except Greater than
  • GTS Add as per GES, except just greater than for dynamic array expression FMUL/FDIV/FADD/FSUB.

See also: FMT function.

Go back to jBASE BASIC.

Was this article helpful?