Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
APPX Runtime Subroutine API | ||||||||
Line: 12 to 12 | ||||||||
General InformationAll of these new subroutines are defined in the (---) application and begin with a period (.). They all use a standard call interface and use the same framework for returning resuts and reporting errors. They are grouped by name prefix so that related subroutines are grouped together by function. Data is passed into and returned from these subroutines by use of the PASS statement. Failure information is returned by use of a work field with the same name os the subroutine. This failure code field is tokenized so ou can scan to see the failure reasons that can be returned. | ||||||||
Added: | ||||||||
> > | General SubroutinesUtility Routines.UTIL MOD SCROLL BEHAVModifies the standard bahavior of a scrolling input process to allow the user to place the cursor on a different record and press ENTER to select it. | |||||||
Data Manipulation SubroutinesConversion Routines.CONVERT HEX PR TO NUM | ||||||||
Line: 23 to 28 | ||||||||
.CONVERT SPLIT NUMBERSplit a number into it's whole and fractional parts. | ||||||||
Added: | ||||||||
> > | Text Routines.TEXT CREATE PADFills a field with a single charcter repeated the given number of times..TEXT CUT AT POSRemoves characters from a given text or alpha field..TEXT FINDFind the position of the given text in a given text or alpha field..TEXT FIND AND REPLACEFind and replace the given text in a given text or alpha field..TEXT GET LENGTHDetermine the length of text within a given text or alpha field..TEXT INSERT AT POSInserts text into a given text or alpha field..TEXT LOWER TO UPPERConvert lower case text to upper case text within a given text or alpha field..TEXT UPPER TO LOWERConvert upper case text to lower case text within a given text or alpha field. | |||||||
System Information SubroutinesServer Environment Routines.ENV GET OS TYPE | ||||||||
Line: 31 to 61 | ||||||||
.ENV GET PATH SEPERATRReturn the directory seperator character of the host operating system. | ||||||||
Added: | ||||||||
> > | File System Utilities SubroutinesFile Manipulation Routines.FILE DELETEDeletes the given file from the filesystem..FILE EXISTSTests for the existance of the given file in the filesystem..FILE MAKE DIRCreates the given directory and parent directories in the filesystem..FILE SPLIT FILENAMESplits the filename from the file extension and returns both..FILE SPLIT PATHNAMESplits the filename from the path and returns both.Stream File Routines.STREAM CLOSECloses a file stream and frees up the stream resources for that file..STREAM CLOSE ALLCloses all file streams and frees up the stream resources for those files..STREAM OPENOpens a stream to the given file creating the file and path as needed..STREAM READRead data from the given stream..STREAM WRITEWrite data to the given stream. | |||||||
-- PeteBrower - 2011-08-12 |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Added: | ||||||||
> > |
APPX Runtime Subroutine APIThis API can be used by an APPX designer to interact with the APPX Runtime Application (---) to gain access to extra functionality.
OverviewRelease 5.1.0 of the APPX Utility includes a new standardized designer API which can be used to gain access to extended functionality from within an APPX application. This API provides APPX Designers with a robust set of subroutines which can be called to do a variety of tasks.General InformationAll of these new subroutines are defined in the (---) application and begin with a period (.). They all use a standard call interface and use the same framework for returning resuts and reporting errors. They are grouped by name prefix so that related subroutines are grouped together by function. Data is passed into and returned from these subroutines by use of the PASS statement. Failure information is returned by use of a work field with the same name os the subroutine. This failure code field is tokenized so ou can scan to see the failure reasons that can be returned.Data Manipulation SubroutinesConversion Routines.CONVERT HEX PR TO NUMConvert a hex pair of alpha characters to a decimal number..CONVERT NUM TO HEX PRConvert a decimal number to a hex pair of alpha characters..CONVERT SPLIT NUMBERSplit a number into it's whole and fractional parts.System Information SubroutinesServer Environment Routines.ENV GET OS TYPEReturn the type of operating system Appx is running on..ENV GET PATH SEPERATRReturn the directory seperator character of the host operating system. -- PeteBrower - 2011-08-12 |