Categoria: ZIM 4GL Language Reference

The Original Internet Language

Securing Data Inside an Application

Permissions A permission mask is assigned to all application directories, to all EntitySets and relationships, and to all fields in EntitySets and relationships. The permission mask indicates the type of access that particular user IDs are to have to the object. The possible permissions for EntitySets and for relationships are READ, ADD, CHANGE, and DELETE. ADD, CHANGE, and DELETE automatically enable you to…
Leia mais

$UserPath

A temporary file system path where ZIMQTC stores intermediate files and caching information. Return Value A character string. Cannot be reset by an application program. Description This file path usually points to the Users directory (locally) in the client machine and is accessible by the user running ZIMQTC as the sole owner of the files therein.…
Leia mais

$ESCAPEXML

The function $escapeXML translates the parameter looking for characters that might disrupt a XML output. Syntax $EscapeXML(expression) Parameters expression an expression that evaluates to a string Return Value A character string translated according to XML standards. Example OUT $ESCAPEXML(“ab<cd”) ab<cd See Also SET OUTPUT FORMAT XMLSIMPLE SET XML ROWELEMENT SET XMLHEADER

Introduction to Zim Class Specification

The purpose of this document is to specify how to write a Zim class. What is the ZCS? The Zim Class Specification provides a standard for the defining and implementing classes in Zim. Standards have been defined for: ✓ Class Interface ✓ Naming Conventions ✓ Layout and Style Background The Zim Class Specification is a…
Leia mais

Classes

Although an object is an instance of a class, it is easier to describe a Zim object first. An object is the encapsulation of attributes and behaviour. Attributes values are stored on an Attribute Structure implemented using a form entity. State values are also stored on this structure (e.g. object modified). Behaviour is described by…
Leia mais

Methods

Defining a method method mAdd(viSelf)endMethod The keywords METHOD and ENDMETHOD have replaced LOCALPROCEDURE and ENDPROCEDURE. The above method declaration does not contain any behaviour. The class zCustomer below shows the class implementation, including behaviour for the add method. %—————————————————————–method mAdd(viSelf)add Customer from aCustomerendMethod %—————————————————————–method mDelete(viSelf)delete sCustomer where ID = aCustomer.IDendMethod %—————————————————————–method mpCustomer(viMethod, inout vtSelf)change aCustomer…
Leia mais

Zim Constants

The following table contains a list of the Zim constants, types, locations, and values. ConstName ConstType DirName ConstValue BlackBlueGreenCyanRedMagentaBrownLightGreyDarkGreyLightBlueLightGreenLightCyanLightRedLightMagentaYellowWhite numericnumericnumericnumericnumericnumericnumericnumericnumericnumericnumericnumericnumericnumericnumericnumeric ZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIM 12345678910111213141516 EscapeEsc charchar ZIMZIM ESCAPEESCAPE F1F2F3F4F5F6F7F8F9F10F11F12F13F14F15F16F17F18F19F20F21F22F23F24F25F26F27F28F29F30F31F32F33F34F35F36F37F38F39F40F41F42F43F44F45F46F47F48F49F50F51F52F53F54F55F56F57F58F59F60F61F62F63F64F65F66F67F68F69F70F71F72F73F74F75F76F77F78F79F80F81F82F83F84F85F86F87F88F89F90F91F92F93F94F95F96F97F98F99F100 charcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharchar ZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIM F1F2F3F4F5F6F7F8F9F10F11F12F13F14F15F16F17F18F19F20F21F22F23F24F25F26F27F28F29F30F31F32F33F34F35F36F37F38F39F40F41F42F43F44F45F46F47F48F49F50F51F52F53F54F55F56F57F58F59F60F61F62F63F64F65F66F67F68F69F70F71F72F73F74F75F76F77F78F79F80F81F82F83F84F85F86F87F88F89F90F91F92F93F94F95F96F97F98F99F100 HomeJumpDownJumpLeftJumpRightJumpUpPageDownPageUpTabBackTabForward charcharcharcharcharcharcharcharchar ZIMZIMZIMZIMZIMZIMZIMZIMZIM HOMEJUMPDOWNJUMPLEFTJUMPRIGHTJUMPUPPAGEDOWNPAGEUPTABBACKTABFORWARD Button1Button2Button3Button4Button5Button6 charcharcharcharcharchar ZIMZIMZIMZIMZIMZIM BUTTON1BUTTON2BUTTON3BUTTON4BUTTON5BUTTON6 CActiveBorderCActiveCaptionCAppWorkSpaceCWindowBackgroundCButtonFaceCButtonShadowCButtonTextCCaptionTextCGrayTextCHighlightColorCHighlightTextCInactiveBorderCInactiveCaptionCMenuColorCMenuTextColorCScrollBarColorCWindowFrameCWindowTextCInactivCaptionTxtCButtonHighlightCWindowColor numericnumericnumericnumericnumericnumericnumericnumericnumericnumericnumericnumericnumericnumericnumericnumericnumericnumericnumericnumericnumeric ZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIMZIM 373635343332313029282726252423222120191817 $CurrentODRevision$CurrentODVersioncEOLNTRANSLATE$CurrentCOVersion$CurrentDCRevision$CurrentDCVersion charcharcharcharcharchar ZIMServicesZIMServices$Utils$DevCen$DevCen$DevCen 1.06.1   11.06.1 Alt0Alt1Alt2Alt3Alt4Alt5Alt6Alt7Alt8Alt9AltAAltBAltCAltDAltEAltEqualAltFAltF1AltF10AltF11AltF12AltF2AltF3AltF4AltF5AltF6AltF7AltF8AltF9AltGAltHAltIAltJAltKAltLAltMAltMinusAltNAltOAltPAltQAltRAltSAltTAltUAltVAltWAltXAltYAltZ charcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharcharchar $DeployServices$DeployServices$DeployServices$DeployServices$DeployServices$DeployServices$DeployServices$DeployServices$DeployServices$DeployServices$DeployServices$DeployServices$DeployServices$DeployServices$DeployServices$DeployServices$DeployServices$DeployServices$DeployServices$DeployService$DeployServices$DeployServices$DeployServices$DeployServices$DeployServices$DeployServices$DeployServices$DeployServices$DeployServices$DeployServices$DeployServices$DeployServices$DeployServices$DeployServices$DeployServices$DeployServices$DeployServices$DeployServices$DeployServices$DeployServices$DeployServices$DeployServices$DeployServices$DeployServices$DeployServices$DeployServices$DeployServices$DeployServices$DeployServices$DeployServices F50F41F42F43F44F45F46F47F48F49F63F76F74F65F55F52F66F31F40F83F84F32F33F34F35F36F37F38F39F67F68F60F69F70F71F78F51F77F61F62F53F56F64F57F59F75F54F73F58F72 ATTROEFTYPEATTROFOEFTYPE charchar $CompDevCen$CompDevCen…
Leia mais

$lastmember

Returns the number of members in a result set. Syntax $lastmember(setname) Parameters setname A character string or an expression that evaluates to a character string, being the name of a result set. Return Value Number with no decimal places. Comments $lastmember returns the (numerical) position of the last member in the specified result set (in…
Leia mais

{ } (Case)

Selects one in a series of values. Syntax { expression1 , expression2 } Parameters expression1 any value expression expression2 any value expression Return Value The value of the first of the expressions that is not $Null. Comments The expressions within the braces are evaluated from left to right. The case expression takes the value of…
Leia mais

$center (or $centre)

Centers a non-blank character string. Syntax $center(string) | $centre(string) Parameters string a character string, or an expression that evaluates to a character string Return Value Character string, consisting of string centered in a space $length(string) characters long. Leading or trailing blanks in string are ignored during centering. If string contains an odd number of characters,…
Leia mais

pt_BRPortuguese