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

SET (Field Attributes)

Modify certain attributes of fields. Syntax SET <fieldname> REQUIRED ON|OFF SET <fieldname> FIELDLISTWIDTH <number> SET <fieldname> HEADING <charstring> SET <fieldname> MASKFIELD <charstring> SET <fieldname> REMNAME <charstring> Parameters fieldname The name of a field. ON or OFF Specifies if the field can have the value $null. This is equivalent to changing the REQD field to “yes”…
Leia mais

SET XREF

Turns the output of cross-reference information on or off during parsing and compiling. Syntax SET XREF ON|OFF Comments The XREF option is set OFF by default. When XREF is ON, the software sends dependency information to the current output when an application program is parsed or compiled. One line of output is generated for every…
Leia mais

SET RESET

Resets most global application settings to their default state. Syntax SET RESET Comments The SET RESET command returns most global application settings to their default values. The global application settings reset to their defaults by SET RESET include SET AUTORETRY NOT APPLICABLE SET CHECKNULLS SET COLUMNSPACING SET CURSOR SET DELIMITER SET DOCLINELENGTH SET EOFVALUE SET…
Leia mais

pt_BRPortuguese