replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: View topic - CALL GETARG(1,BUFFER)
forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CALL GETARG(1,BUFFER)

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
RS



Joined: 22 Jun 2008
Posts: 22

PostPosted: Mon Aug 25, 2008 2:56 pm    Post subject: CALL GETARG(1,BUFFER) Reply with quote

This statement

CALL GETARG(1,BUFFER)

doesn't seem to be capturing the argument that I am passing to the executable. There are no errors or warnings. Should this not work with FTN95?

Thanks
Back to top
View user's profile Send private message
brucebowler
Guest





PostPosted: Mon Aug 25, 2008 3:24 pm    Post subject: Reply with quote

How is BUFFER defined?
Back to top
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 8220
Location: Salford, UK

PostPosted: Mon Aug 25, 2008 6:47 pm    Post subject: Reply with quote

GETARG is not documented in the help file but is available as...

Code:

      SUBROUTINE GETARG(NARG,ARG)
C    RETURN NARG'TH COMMAND LINE ARGUMENT
      INTEGER*4 NARG
      CHARACTER*(*) ARG


The alternative is GET_COMMAND_ARGUMENT.
Back to top
View user's profile Send private message AIM Address
RS



Joined: 22 Jun 2008
Posts: 22

PostPosted: Tue Aug 26, 2008 3:33 pm    Post subject: BUFFER defined as character*150 Reply with quote

BUFFER is defined as character*150. The argument does not get read into buffer.

I will research the other option that was mentioned (GET_COMMAND_ARGUMENT).
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
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