IT    Universe documentation - Subroutine

Subroutine

Contents:

Id Category Description Syntax E/W
!ASYNC subroutine BASIC Use the !ASYNC subroutine (or its synonym !AMLC) to send data to, and receive data from an asynchronous device.   CALL !ASYNC (key, line, data, count, carrier)   E  
!ERRNO subroutine BASIC Use the !ERRNO subroutine to return the current value of the operating system errno variable.   CALL !ERRNO (variable)    
!FCMP subroutine BASIC Use the !FCMP subroutine to compare the equality of two floating-point numeric values as follows:   CALL !FCMP (RESULT, number1, number2 )    
!GET.PARTNUM subroutine BASIC Use the !GET.PARTNUM subroutine with distributed files to determine the number of the part file to which a given record ID belongs.   CALL !GET.PARTNUM (file, record.ID, partnum, status)   EN  
!GET.PATHNAME subroutine BASIC Use the !GET.PATHNAME subroutine to return the directory name and filename parts of a pathname.   CALL !GET.PATHNAME (pathname, directoryname, filename,
status)  
E  
!GET.PU subroutine BASIC Use the !GETPU subroutine to read individual parameters of any logical print channel.   CALL !GETPU (key, print.channel, set.value, return.code)   E  
!GET.USER.COUNTS subroutine BASIC Use the !GET.USER.COUNTS subroutine to return a count of UniVerse and system users. If any value cannot be retrieved, a value of -1 is returned.   CALL !GET.USER.COUNTS (uv.users, max.uv.users, os.users)    
!INLINE.PROMPTS subroutine BASIC Use the !INLINE.PROMPTS subroutine to evaluate a string that contains in-line prompts. In-line prompts have the following syntax:   CALL !INLINE.PROMPTS ( result , string )   EN  
!INTS subroutine BASIC Use the !INTS subroutine to retrieve the integer portion of elements in a dynamic array.   CALL !INTS (result, dynamic.array)   E  
!MAKE.PATHNAME subroutine BASIC Use the !MAKE.PATHNAME subroutine to construct the full pathname of a file. The !MAKE.PATHNAME subroutine can be used to:   CALL !MAKE.PATHNAME (path1, path2, result, status)   E  
!MATCHES subroutine BASIC Use the !MATCHES subroutine to test whether each element of one dynamic array matches the patterns specified in the elements of the second dynamic array. Each element of dynamic.array is compared with the corresponding element of match.pattern. If the element in dynamic.array matches the pattern specified in match.pattern, 1 is returned in the corresponding element of result. If the element from dynamic.array is not matched by the specified pattern, 0 is returned.   CALL !MATCHES (result, dynamic.array, match.pattern)   E  
!MESSAGE subroutine BASIC Use the !MESSAGE subroutine to send a message to another user on the system. !MESSAGE lets you change and report on the current user's message status.   CALL !MESSAGE (key, username, usernum, message, status)   EN  
!REPORT.ERROR subroutine BASIC Use the !REPORT.ERROR subroutine to print explanatory text for a UniVerse or operating system error code.   CALL !REPORT.ERROR (command, subroutine, code)   E  
!SET.PTR subroutine BASIC Use the !SET.PTR subroutine to set options for a logical print channel. This subroutine provides the same functionality as the UniVerse SETPTR command.   CALL !SET.PTR (print.channel, width, length, top.margin,
bottom.margin, mode, options)  
E  
!SET.PU subroutine BASIC Use the !SETPU subroutine to set individual parameters of any logical print channel.   CALL !SETPU (key, print.channel, new.value, return.code)   E  
!TIMDAT subroutine BASIC Use the !TIMDAT subroutine to return a dynamic array containing the time, date, and other related information. The !TIMDAT subroutine returns a 13-element dynamic array containing information shown in the following list.   CALL !TIMDAT (variable)   E  
!USER.TYPE subroutine BASIC Use the !USER.TYPE subroutine to return the user type of the current process and a flag to indicate if the user is a UniVerse Administrator.   CALL !USER.TYPE (type, admin)   E  
!VOC.PATHNAME subroutine BASIC Use the !VOC.PATHNAME subroutine to extract the pathnames for the data file or the file dictionary of a specified VOC entry.   CALL !VOC.PATHNAME (data/dict, voc.entry, result, status)   E  

All documents copyright by their respective owners.

2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81