SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
bad number of arguments

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
bad number of arguments
Author Message
PAUL IONESCU



Joined: 16 Jan 2000
Posts: 1

Post bad number of arguments Reply with quote

I have a problem with Concat("e:\dir\dir\",string,string) in ver 1.52.
When i "validate" I recive error "bad number of arguments".
The cuple \" it is not recognized. If I let \ " the error is gone but the job falis. I tried \\ and same thing. Any suggestions?

Mon Aug 30, 1999 7:28 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7841

Post Re: bad number of arguments Reply with quote

a) turn off (or change excape symbol) special ASCII characters in Preferences/Options

or

b) code something like the following:

dim( file, string )
dim( path, string )
dim( backslash, string )

// Note: ASCII code 92 is backslash
char( 92, backslash )

concat( "e:\dir\dir", backslash, path )
concat( path, file, file )
MessageBox( file )

and

c) don't name variables using reserved words, otherwise you will have problems upgrading to the future versions that will support nested statements.

: I have a problem with Concat("e:\dir\dir\",string,string) in ver
: 1.52.
: When i "validate" I recive error "bad number of
: arguments".
: The cuple \" it is not recognized. If I let \ " the error is gone
: but the job falis. I tried \\ and same thing. Any suggestions?

Mon Aug 30, 1999 10:18 pm View user's profile Send private message
PAUL IONESCU



Joined: 16 Jan 2000
Posts: 1

Post Re: bad number of arguments Reply with quote

I had find another solution for my problem:
Concat("e:\dir\subdir",\,file_name)
and is working fine.

Thaks for your time!

: I have a problem with Concat("e:\dir\dir\",string,string) in ver
: 1.52.
: When i "validate" I recive error "bad number of
: arguments".
: The cuple \" it is not recognized. If I let \ " the error is gone
: but the job falis. I tried \\ and same thing. Any suggestions?

Wed Sep 01, 1999 12:25 am View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
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


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.