REXXUTIL INI File I/O Function -- Description, Syntax, and Examples

SysIni([inifile], app|'ALL:', key|'ALL:'|'DELETE:', value|stemname)

sysini("c:\mystuff\mydata.ini","myapp","Response","YES")

adds the key value "YES" to the INI file "'mydata.ini" for the key named "Response" that belongs to the application "myapp"

sysini("c:\mystuff\mydata.ini","myapp","Response")

queries the current value of the key "Response" associated with the application "myapp" in the INI file "mydata.ini"

sysini("c:\mystuff\mydata.ini","myapp","Response","DELETE")

deletes the key "Response" associated with the application "myapp" in the INI file "mydata.ini"

sysini("c:\mystuff\mydata.ini","myapp","DELETE")

deletes the application "myapp" and all related keys from the INI file "mydata.ini"

Call sysini("c:\mystuff\mydata.ini","myapp","ALL:","keys.")

Next