INI file control

For questions about using Classic.

Post » Tue Oct 11, 2011 12:27 am

Can anyone think of a way to advance the item line in the ini file without having to name the item specifically?

[group]
   item=Line 1
   item=Line 2
   item=Line 3
   item=Line 4

Having Line 1 write to a text object, finish-prompt-timeout etc then line 2 writes to the text object.



I am also having trouble understanding the expressions in the ini object. Some of them have details at the end that need to be entered like so,( in bold)

INI.ItemFloat(Group, Item)

But some of them don't,

INI.Groups
INI.INIFile
INI.CurrentGroup
INI.CurrentItem

And I don't know how to interact with them. Do I need to add something on the end? Do I need to replace?

INI.CurrentItem - This sounds almost like what I need, but I have no clue how to interact with it.Steven2011-10-11 00:28:12
B
9
S
2
G
4
Posts: 346
Reputation: 2,726

Post » Tue Oct 11, 2011 1:13 am

here's an example using Ardsonides Deque plug from the Datasructures combo
deque-text

Plugs found here.newt2011-10-11 01:15:06
Image Image
B
161
S
48
G
91
Posts: 7,359
Reputation: 67,273


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 5 guests