Type acquisition/conversion

Function nameQuick explanation
Manual/Function/TOINTConvert strings and real numbers to integers
Manual/Function/TOREALConvert strings and integers to real numbers
Manual/Function/TOSTRConvert integers, real numbers, and general arrays to strings
Manual/Function/GETTYPEGet the value type
Manual/Function/GETTYPEEXGet the value type
Manual/Function/ISFUNCCheck whether a function with a given name exists
Manual/Function/ISVARChecks whether a variable with a given name exists
Manual/Function/CVINTConvert a variable's type to integer
Manual/Function/CVSTRConvert a variable's type to string
Manual/Function/CVREALConvert a variable's type to real number
Manual/Function/CVAUTOConvert a string variable to an integer or real number
Manual/Function/CVAUTOEXConvert a string variable to an integer or real number
(only if the result of additional string conversion matches the original string)
Manual/Function/TOAUTOConvert a string or integer to a real number
Manual/Function/TOAUTOEXConvert a string or integer to a real number
(only if the result of additional string conversion matches the original string)

Array manipulation

Function nameQuick explanation
Manual/Function/ARRAYSIZEGet the number of array elements
Manual/Function/SETDELIMSet the delimiter (simple array delimiter) for the variable
Manual/Function/IARRAYReturns an empty general array
Manual/Function/ASEARCHRetrieves a single value from a general array
Manual/Function/ASEARCHEXRetrieves all occurences of a value from a general array
Manual/Function/GETDELIMGet the delimiter (simple array delimiter) of a variable
Manual/Function/ASORTSort data in a general array
Manual/Function/ARRAYDEDUPEliminate duplicate elements in an array

String manipulation

Function nameQuick explanation
Manual/Function/STRSTRSearch for the position of a substring within a string
Manual/Function/STRLENGet the number of characters within a string
Manual/Function/REPLACEReplace a substring within a string with another substring
Manual/Function/SUBSTRExtract a specified number of characters starting from a specified position within a string
Manual/Function/ERASEDelete a specified number of characters starting from a specified position within a string
Manual/Function/INSERTInsert a substring at the specified position within the string
Manual/Function/TOUPPERConvert all lowercase letters in a string to uppercase
Manual/Function/TOLOWERConvert all uppercase letters in a string to lowercase
Manual/Function/CUTSPACERemove whitespace at the left and right end of a string
Manual/Function/TOBINSTRConvert an integer (decimal) to a binary numeric string
Manual/Function/TOHEXSTRConvert an integer (decimal) to a hexadecimal numeric string
Manual/Function/BINSTRTOIConvert a binary number string to an integer (decimal)
Manual/Function/HEXSTRTOIConvert a hexadecimal number string to an integer (decimal)
Manual/Function/CHRConvert UCS-2 codes to characters
Manual/Function/CHRCODEConvert characters to UCS-2 codes
Manual/Function/ISINTSTRDetermine if a given string can be interpreted as an integer
Manual/Function/ISREALSTRDetermine if a given string can be interpreted as a real number
Manual/Function/SPLITPATHBreak down a path string into a general array with an element for each part
Manual/Function/STRFORMGet a formatted string
Manual/Function/ANYGet one element at random
Manual/Function/GETSTRBYTESGet the number of bytes in a string
Manual/Function/SPLITSplit a string with the specified delimiter
Manual/Function/ZEN2HANConvert full-width characters in a string to half-width characters
Manual/Function/HAN2ZENConvert half-width characters in a string to full-width characters
Manual/Function/STRENCODEEncode a string
Manual/Function/STRDECODEDecode a string
Manual/Function/STRDIGESTGet the digest (hash) value of a string
Manual/Function/TRANSLATEPerform fast character-to-character replacement of strings

Regular expressions

Function nameQuick explanation
Manual/Function/RE_SEARCHCheck if there is a regular expression pattern match in the string
Manual/Function/RE_MATCHCheck if the entire string matches the regular expression exactly
Manual/Function/RE_GREPSearch for all parts of a string that match a regular expression pattern
Manual/Function/RE_REPLACEReplace all parts of a string that match a regular expression
Manual/Function/RE_SPLITSplit a string with a regular expression pattern and get it in a general array
Manual/Function/RE_GETSTRGet a general array listing substrings that match the regular expression pattern
Manual/Function/RE_GETPOSGet a general array listing the locations of substrings matching the regular expression pattern
Manual/Function/RE_GETLENGet a general array listing the lengths of substrings matching the regular expression pattern
Manual/Function/RE_REPLACEEXReplace all parts of the target string that match the regular expression pattern
Manual/Function/RE_ASEARCHGet a single value from a general array that contains the specified regular expression pattern
Manual/Function/RE_ASEARCHEXGet all values from a general array that contain the specified regular expression pattern
Manual/Function/RE_OPTIONSet regular expression options

External libraries

Function nameQuick explanation
Manual/Function/FUNCTIONEXExecute SAORI
Manual/Function/LOADLIBLoad an external library (DLL)
Manual/Function/UNLOADLIBUnload an external library (DLL)
Manual/Function/REQUESTLIBRun a loaded external library
Manual/Function/CHARSETLIBSpecify the character code to use when communicating with external libraries
Manual/Function/CHARSETLIBEXIndividually specify character codes to use when communicating with external libraries

Mathematical functions

Function nameQuick explanation
Manual/Function/RANDGet a random number (integer type)
Manual/Function/SRANDSet the seed for random numbers
Manual/Function/FLOORRound down the decimal point of a real number
Manual/Function/CEILRound up the decimal point of a real number
Manual/Function/ROUNDRound the decimal point of a real number to the closest whole number
Manual/Function/SINFunction that returns the sine
Manual/Function/COSFunction that returns the cosine
Manual/Function/TANFunction that returns the tangent
Manual/Function/LOGFunction that returns the natural logarithm
Manual/Function/LOG10Function that returns the common logarithm
Manual/Function/POWPower function
Manual/Function/SQRTFunction that returns the square root
Manual/Function/ASINFunction that returns the arcsine in radians
Manual/Function/ACOSFunction that returns the arccosine in radians
Manual/Function/ATANFunction that returns the arctangent in radians
Manual/Function/SINHFunction that returns the hyperbolic sine
Manual/Function/COSHFunction that returns the hyperbolic cosine
Manual/Function/TANHFunction that returns the hyperbolic tangent

Bit operations

Function nameQuick explanation
Manual/Function/BITWISE_ANDFunction that returns the bitwise AND of 2 arguments
Manual/Function/BITWISE_ORFunction that returns the bitwise OR (logical sum) of 2 arguments
Manual/Function/BITWISE_XORFunction that returns the bitwise XOR (exclusive OR) of two arguments
Manual/Function/BITWISE_NOTFunction that returns NOT (bit reversal) of the argument
Manual/Function/BITWISE_SHIFTFunction that performs a bit shift operation

File operations

Function nameQuick explanation
Manual/Function/FOPENOpen a file
Manual/Function/FCLOSEClose a file
Manual/Function/FREADRead one line from a file
Manual/Function/FREADENCODERead data while encoding
Manual/Function/FWRITEDECODEWrite data while decoding
Manual/Function/FWRITEWrite one line in a file (newline at the end of the line)
Manual/Function/FWRITE2Write one line in a file (do not end with a newline)
Manual/Function/FCOPYCopy a file
Manual/Function/FMOVEMove a file
Manual/Function/MKDIRCreate a directory
Manual/Function/RMDIRDelete a directory
Manual/Function/FDELDelete a file
Manual/Function/FRENAMERename a file
Manual/Function/FSIZEGet the size of a file
Manual/Function/FENUMGet a list of files and directories
Manual/Function/FCHARSETSpecify the character code used to read and write files
Manual/Function/FATTRIBGet various information on files and directories
Manual/Function/FREADBINRead data without character code conversion
Manual/Function/FWRITEBINWrite data without character code conversion
Manual/Function/FDIGESTGet the hash value of a specified file
Manual/Function/FSEEKSpecify the read/write position in the file
Manual/Function/FTELLGet the read/write position in the file

Meta operations/special functions

Function nameQuick explanation
Manual/Function/EVALExecute the given string as a single YAYA script (expression)
Manual/Function/ISEVALUABLEDetermine if EVAL can be performed
Manual/Function/ERASEVARErase a variable
Manual/Function/LETTONAMEAssign variables
Manual/Function/LSOGet the result of the last selection made
Manual/Function/SAVEVARSave variables to a file
Manual/Function/GETSETTINGGet settings for YAYA itself
Manual/Function/GETFUNCLISTGet a list of functions in the currently loaded dictionaries
Manual/Function/GETVARLISTGet a list of variables in use
Manual/Function/CHARSETTEXTTOIDConvert a string representing a character code to a character code ID
Manual/Function/CHARSETIDTOTEXTConvert a character code ID to a string representing a character code
Manual/Function/RESTOREVARLoad variables from a file
Manual/Function/GETCALLSTACKGet the history of user function calls in a general array
Manual/Function/EXECUTEStart an external program
Manual/Function/EXECUTE_WAITStart an external program and wait for it to finish
Manual/Function/SETSETTINGChange settings for YAYA itself
Manual/Function/LICENSEGet the YAYA license string
Manual/Function/APPEND_RUNTIME_DICWrite the contents of a dictionary to the dictionary in memory
Manual/Function/GETSYSTEMFUNCLISTGet a list of system functions
Manual/Function/OUTPUTNUMGet the number of output candidates that the function can return
Manual/Function/DICLOADDynamically load a dictionary file
Manual/Function/DICUNLOADDynamically unload a dictionary file
Manual/Function/FUNCDECL_ERASESpecify a function that is automatically executed when a variable is deleted
Manual/Function/FUNCDECL_READSpecify a function that is automatically executed when a variable is read
Manual/Function/FUNCDECL_WRITESpecify a function that is automatically executed when a variable is written
Manual/Function/GETFUNCINFOGet information on (user) functions in the dictionary
Manual/Function/UNDEFFUNCUnload a function
Manual/Function/ISGLOBALDEFINECheck to see if it is defined with #globaldefine
Manual/Function/PROCESSGLOBALDEFINEPerform the sameprocess as #globaldefine
Manual/Function/SETGLOBALDEFINEWrite a #globaldefine in the dictionary in memory
Manual/Function/UNDEFGLOBALDEFINEDisable a #globaldefine

System information

Function nameQuick explanation
Manual/Function/GETTIMEGet current date and time information
Manual/Function/GETTICKCOUNTGet the time elapsed since the OS was booted
Manual/Function/GETMEMINFOGet memory information about the operating environment
Manual/Function/GETSECCOUNTGet the number of seconds elapsed since EPOCH (1970/1/1 00:00:00 in Universal Standard Time)
Manual/Function/READFMOGet the contents of the FMO as a string
Manual/Function/GETENVGet environment variables

Debug

Function nameQuick explanation
Manual/Function/LOGGINGWrite the specified value to the log file
The log is displayed in the debugger "Tama" at the same time
Manual/Function/GETLASTERRORGet the error code of the system function that occured immediately before
Manual/Function/SETLASTERRORSet error codes for system functions
Manual/Function/DUMPVARDump variables to a log
Manual/Function/CLEARERRORLOGClear error/warning logs
Manual/Function/GETERRORLOGGet error/warning logs
Manual/Function/LINT.GetFuncUsedByGet the name of the functions used in the specified function
Manual/Function/LINT.GetGlobalVarLettedGet the name of the global variables defined (assigned) by the specified function
Manual/Function/LINT.GetGlobalVarUsedByGet the name of the global variables used in the specified function
Manual/Function/LINT.GetLocalVarLettedGet the name of the local variables defined (assigned) by the specified function
Manual/Function/LINT.GetLocalVarUsedByGet the names of the local variables used in the specified function
Manual/Function/LINT.GetUserDefFuncUsedByGet the name of the user-defined functions used in the specified function
Manual/Function/SLEEPSuspends execution and waits for the specified time (unit: milliseconds)
Manual/Function/SETTAMAHWNDSpecify the window handle of the debugging tool "Tama"