Usr_GetProfInt

SUMMARY

Usr_GetProfInt - reads an integer out of an ini-File

SYNTAX

Usr_GetProfInt(inifile,section,line);

ARGUMENTS

inifile
Name of the ini-File that contains the "Section"
Section
Name of the Section that contains the "Line"
Line
Line-Number where the integer should be read from.

RETURN VALUE

according the line entry

DESCRIPTION

Allows to read an integer value from an ini-File.


How the job is used:

refering to the following ini-File :

test.ini
[s_1_1]
01=10
02=11
03=1234567
04=13
05=14
06=15


bound to a Digital Meter the according values to a line are displayed as an integer value.

The following sequence:

Usr_GetProfInt(test.ini,s_1_1,03)
Usr_PushArgs()
Wnd_Dialog(TEST1,1)

bound to a button would make the integer value "1234567" available as $wnd1 in the Dialog Window "TEST1".

EXAMPLES

Usr_GetProfInt(test.ini,s_1_1,03);


Syntax Notation
[aaa]
aaa is optional (zero or one occurences)
(aaa|bbb)
aaa exclusive or bbb
(aaa)*
aaa may occur indefinitely often or may be omitted
(aaa)+
aaa may occur indefinitely often but at least once
(aaa)m..n
aaa may occur from m to n times