[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

RE: [sqr-users] sqr command line parameters not being accepted




>From: "Steve Cavill"
>Change your ASK to INPUT, and move it to the main part of the program
>(not the setup section)
>Unless you really need a substitution variable.
>Steve.

I made those changes and it worked. I am pasting the working program below.

begin-setup
Declare-Variable
   Text $num
End-Declare


end-setup
begin-program
   input $num
   print $num (1) center
   do accept_params

end-program
!-----------------------------------------------------------------------!
! Function:
! Description:    This procedure
!-----------------------------------------------------------------------!
begin-procedure accept_params
   #debug show '===>'
   #debug show $num
   print $num (1) center
end-procedure


Amol Gokhale
Consultant
MindCraft Software Pvt. Ltd.
'Building excellence, delivering value..'
www.mcsil.com
Tel :+91-22-5692-6200/ 5699-6200
Fax:+91-22-5693-9730
DISCLAIMER
The information in this email is confidential and intended solely for the
addressee. Access to this email by anyone else is unauthorized. Any use,
distribution, copying or disclosure by any other person is strictly
prohibited and may be illegal. If you received this in error, please notify
the sender by reply e-mail and then destroy the message. Opinions,
conclusions, and other information in this message that do not relate to
the official business of MindCraft shall be understood to be neither given
nor endorsed by MindCraft. When addressed to our clients the contents in
this email are subject to the terms and conditions expressed in the
governing client engagement policy. DISCLAIMER
 The information in this email is confidential and intended solely for the
 addressee. Access to this email by anyone else is unauthorised. Any
 use,distribution, copying or disclosure by any other person is strictly
 prohibited and may be illegal. If you received this in error, please
 notify the sender by reply e-mail and then destroy the message. Opinions,
 conclusions, and other information in this message that do not relate to
 the official business of MindCraft shall be understood to be neither given
 nor endorsed by MindCraft. When addressed to our clients the contents in
 this email are subject to the terms and conditions expressed in the
 governing client engagement policy.


_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users