[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
Amol,
Give the input parameter ('amol') in quotes if you are using 'ask' command.
If you want to enter a number then you can enter 1,2,3 etc without quotes.
Other option is use Input command in the program section itself.
Syed
-----Original Message-----
From: sqr-users-bounces+syed.husain=patni.com@sqrug.org
[mailto:sqr-users-bounces+syed.husain=patni.com@sqrug.org]On Behalf Of
Amol Gokhale
Sent: Wednesday, July 20, 2005 5:16 PM
To: sqr-users@sqrug.org
Subject: RE: [sqr-users] sqr command line parameters not being accepted
-----sqr-users-bounces+amol.gokhale=mindcraftsoftware.com@sqrug.org wrote:
-----
>Hi Amol,
>
>Try the code below.I think this should work fine.
>
>begin-setup
>Declare-Variable
>! default-numeric = Decimal(12)
> Text $num
>End-Declare
> ask number
>
>end-setup
>begin-program
>
> let $num = {number}
> 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
Nope gave the following error
Error on line 11:
(SQR 4008) Unknown function or variable in expression: amol
let $num = amol
Any ideas????
Bye,
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
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users