forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Error: Invalid function

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
gwardell
Newbie


Joined: 03 Apr 2004
Posts: 10

PostPosted: Sat May 01, 2004 1:21 am    Post subject: Error: Invalid function Reply with quote

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
View user's profile Send private message
bbelcher
Contributor
Contributor


Joined: 30 Jul 2002
Posts: 172

PostPosted: Sat May 01, 2004 1:45 am    Post subject: Reply with quote

what version of VDS are you using?
Back to top
View user's profile Send private message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Sat May 01, 2004 2:57 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
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

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group