DarkBASIC Professional Help Wiki
Advertisement
Syntax


MAKE LOOKUP FROM INI Lookup id, Ini filename$


Description


This command can be used to build a lookup table from an Ini file.

The section name will be combined with a slash and the key to generate a key for the lookup.

If there is a blank section name, the loaded key will have a leading slash. If the ini key is blank, the key will have a trailing slash.

The hash ( # ) and semi-colon (;) characters are treated as the start of a comment, unless they are enclosed within a double-quoted value.

When a field starts with a double-quote, everything up to the last double-quote on the line will be retained, but everything after will be discarded as if it were a comment.

Advertisement