| View previous topic :: View next topic |
| Author |
Message |
gwardell Newbie
Joined: 03 Apr 2004 Posts: 10
|
Posted: Sat May 01, 2004 1:21 am Post subject: Error: Invalid function |
|
|
Hi,
I'm having trouble figuring out the problem here.
I am trying to use XIni.dll to iterate the keys in an ini file. the problem is when I compile my scrip I get "Error: Invalid function at line 15".
You probably will want to see my code so:
| Code: | rem include the extension
external G:\Users\GWardell\Desktop\IniTest\XINI.DLL
Title Check LoanApp INI
DIALOG CREATE,New Dialog,-1,0,240,160
REM *** Modified by Dialog Designer on 4/30/2004 - 15:05 ***
DIALOG ADD,BUTTON,OK,83,111,,,OK
DIALOG SHOW
:Evloop
wait event
goto @event()
:OKBUTTON
%X = @XINI(info,LoanAppPCM.Ini,Config,|)
rem %X now includes the number of the keys and the keynames separated by the separator-value.
rem with the sample-ini itīs: 3efg (no separator is used)
INFO %X
goto evloop
:Close
exit
|
|
|
| Back to top |
|
 |
bbelcher Contributor

Joined: 30 Jul 2002 Posts: 172
|
Posted: Sat May 01, 2004 1:45 am Post subject: |
|
|
| what version of VDS are you using? |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Sat May 01, 2004 2:57 am Post subject: |
|
|
To add to what bbelcher was saying, if you are using VDS 5 you will need
to define your commands/functions, like so:
| Code: | #define command,xini
#define function,xini |
_________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|