dbTalk Databases Forums  

Problem with Pick basic

comp.databases.pick comp.databases.pick


Discuss Problem with Pick basic in the comp.databases.pick forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Pablo
 
Posts: n/a

Default Problem with Pick basic - 10-08-2003 , 06:49 AM






Is there anyone out there who still has an old system called PICK who may be
able to anser this. When running an old program re-compiled using >BASIC
SPROGS STOCKX we get the message "Variable unassigned a value 3 used". The
program used to use zero. What could have changed I wondered lonely as a
cloud.



Reply With Quote
  #2  
Old   
rg
 
Posts: n/a

Default Re: Problem with Pick basic - 10-08-2003 , 07:01 AM






"Pablo" <whatme (AT) gov (DOT) co.uk> wrote

Quote:
Is there anyone out there who still has an old system called PICK who may
be
able to anser this. When running an old program re-compiled using >BASIC
SPROGS STOCKX we get the message "Variable unassigned a value 3 used". The
program used to use zero. What could have changed I wondered lonely as a
cloud.

Search your ERRMSG file for the string 'iable unassigned' and then edit the
record to check to see if somebody changed the text from zero to 3.

Roger




Reply With Quote
  #3  
Old   
Neil Charrington
 
Posts: n/a

Default Re: Problem with Pick basic - 10-08-2003 , 07:30 AM



Look in the MD for the item "BASIC" and verify that it is not a PROC that
does various other things other than simply BASIC SPROGS STOCKX. It sounds
like it is running a program to execute the Pick BASIC command.

The MD item also should not be a catalog'd program

i.e.
in R83 attribute 1 must not be a "P" and attr 6 must not be "SPROGS STOCKX";
or
in AP/D3 attr 1 must not be "VR" and attr 4 must not be "SPROGS STOCKX".

IHTH

Neil.

Neil Charrington
C.A. Software Systems
www.casoftware.co.uk
www.mv4gl.com
www.jbite.com


"Pablo" <whatme (AT) gov (DOT) co.uk> wrote

Quote:
Is there anyone out there who still has an old system called PICK who may
be
able to anser this. When running an old program re-compiled using >BASIC
SPROGS STOCKX we get the message "Variable unassigned a value 3 used". The
program used to use zero. What could have changed I wondered lonely as a
cloud.



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.522 / Virus Database: 320 - Release Date: 29/09/2003




Reply With Quote
  #4  
Old   
Gulraj Rijhwani
 
Posts: n/a

Default Re: Problem with Pick basic - 10-08-2003 , 08:53 PM



On Wednesday, in article <bm0tmf$qi9$1 (AT) newsg2 (DOT) svr.pol.co.uk>
whatme (AT) gov (DOT) co.uk "Pablo" wrote:

Quote:
Is there anyone out there who still has an old system called PICK who may be
Old?

OLD!?

Quote:
able to anser this. When running an old program re-compiled using >BASIC
SPROGS STOCKX we get the message "Variable unassigned a value 3 used". The
program used to use zero. What could have changed I wondered lonely as a
cloud.
Looks to me like someone has been poking around with one of the favourite
idle pastimes of changing the standard error messages (in the file ERRMSG).
The commonest was to change the error message 3 (general "I don't
understand" response of the command shell) from "Verb?" to something
like "Oi! Muppet!" There are, however, countless other messages in the
same file, one of which will be the run-time's unnsigned variable
error, though I forget which particular message it is. (Ordinarily,
the message should tell you the error number, in square brackets.
This is the message's id in the ERRMSG file.) It doesn't mean that
3 IS being used, just that someone's mangled the text of the error.
It could just as easily read "Variable not assigned a value. Hot fudge
sauce used." The runtime will still actually be using zero. However,
it's pretty poor practice for such errors to go uncorrected, and
unassigned variables usually indicate someone goofed with a typo
or didn't finish writing the program.

PS: There is no domain gov.co.uk, and you shouldn't be posting with
it.
--
Gulraj Rijhwani \\ Courtfields Limited, Chessington, Surrey, UK
gdr (AT) courtfields (DOT) com \\ Tel: +44 (0)20 8255 4667 Mo: 07976 431936
http://www.courtfld.demon.co.uk \\ Fax: +44 (0)20 8287 8381
----- Specialist in Pick, Unidata, datacomms and general connectivity -----
All material copyright Gulraj Rijhwani and Courtfields. ALL RIGHTS RETAINED.


Reply With Quote
  #5  
Old   
Gulraj Rijhwani
 
Posts: n/a

Default Re: Problem with Pick basic - 10-08-2003 , 09:02 PM



On Wednesday, in article <bm0tmf$qi9$1 (AT) newsg2 (DOT) svr.pol.co.uk>
whatme (AT) gov (DOT) co.uk "Pablo" wrote:

Quote:
Is there anyone out there who still has an old system called PICK who may be
able to anser this. When running an old program re-compiled using >BASIC
SPROGS STOCKX we get the message "Variable unassigned a value 3 used". The
program used to use zero. What could have changed I wondered lonely as a
cloud.
One more thing. I may be wrong, but I *think* the error message number
you want is 251, or B251. (Not that I've seen a lot of unassigned
variable errors in my time, you inderstand. Oh no. Never happened to
me. No, no, no... Harrumpf.)
--
Gulraj Rijhwani \\ Courtfields Limited, Chessington, Surrey, UK
gdr (AT) courtfields (DOT) com \\ Tel: +44 (0)20 8255 4667 Mo: 07976 431936
http://www.courtfld.demon.co.uk \\ Fax: +44 (0)20 8287 8381
----- Specialist in Pick, Unidata, datacomms and general connectivity -----
All material copyright Gulraj Rijhwani and Courtfields. ALL RIGHTS RETAINED.


Reply With Quote
  #6  
Old   
Frank Winans
 
Posts: n/a

Default Re: Problem with Pick basic - 10-08-2003 , 11:33 PM



"Gulraj Rijhwani" wrote
[ unassigned variables usually indicate
someone goofed with a typo or didn't finish
writing the program.]
Or got lazy and stuck a CLEAR command at the top,
and it was later removed by a newbie that thought it
means clear the screen.



Reply With Quote
  #7  
Old   
Rich
 
Posts: n/a

Default Re: Problem with Pick basic - 10-09-2003 , 10:11 AM



gdr (AT) courtfields (DOT) com (Gulraj Rijhwani) wrote in message news:<20031009.0202.2427snz (AT) courtfields (DOT) com>...
Quote:
On Wednesday, in article <bm0tmf$qi9$1 (AT) newsg2 (DOT) svr.pol.co.uk
whatme (AT) gov (DOT) co.uk "Pablo" wrote:

Is there anyone out there who still has an old system called PICK who may be
able to anser this. When running an old program re-compiled using >BASIC
SPROGS STOCKX we get the message "Variable unassigned a value 3 used". The
program used to use zero. What could have changed I wondered lonely as a
cloud.

One more thing. I may be wrong, but I *think* the error message number
you want is 251, or B251. (Not that I've seen a lot of unassigned
variable errors in my time, you inderstand. Oh no. Never happened to
me. No, no, no... Harrumpf.)
Try message B10 in ERRMSG


Reply With Quote
  #8  
Old   
Gulraj Rijhwani
 
Posts: n/a

Default Re: Problem with Pick basic - 10-09-2003 , 08:49 PM



On 9 Oct, in article
<311e4495.0310090711.38e5fe77 (AT) posting (DOT) google.com>
richard (AT) calidore (DOT) com "Rich" wrote:

Quote:
gdr (AT) courtfields (DOT) com (Gulraj Rijhwani) wrote in message
news:<20031009.0202.2427snz (AT) courtfields (DOT) com>...

One more thing. I may be wrong, but I *think* the error message number
you want is 251, or B251. (Not that I've seen a lot of unassigned
variable errors in my time, you inderstand. Oh no. Never happened to
me. No, no, no... Harrumpf.)

Try message B10 in ERRMSG
OK. So what's 251, then? Now it's bugging me.
--
Gulraj Rijhwani \\ Courtfields Limited, Chessington, Surrey, UK
gdr (AT) courtfields (DOT) com \\ Tel: +44 (0)20 8255 4667 Mo: 07976 431936
http://www.courtfld.demon.co.uk \\ Fax: +44 (0)20 8287 8381
----- Specialist in Pick, Unidata, datacomms and general connectivity -----
All material copyright Gulraj Rijhwani and Courtfields. ALL RIGHTS RETAINED.


Reply With Quote
  #9  
Old   
Mike Wooding
 
Posts: n/a

Default Re: Problem with Pick basic - 10-10-2003 , 04:07 AM



"Gulraj Rijhwani" <gdr (AT) courtfields (DOT) com> wrote

Quote:
On 9 Oct, in article
311e4495.0310090711.38e5fe77 (AT) po...OT) google.com
richard (AT) calidore (DOT) com "Rich" wrote:

gdr (AT) courtfields (DOT) com (Gulraj Rijhwani) wrote in message
news:<20031009.0202.2427snz (AT) courtfields (DOT) com>...

One more thing. I may be wrong, but I *think* the error message
number you want is 251, or B251. (Not that I've seen a lot of
unassigned variable errors in my time, you inderstand. Oh no.
Never happened to me. No, no, no... Harrumpf.)

Try message B10 in ERRMSG

OK. So what's 251, then? Now it's bugging me.
"Done"




Reply With Quote
  #10  
Old   
Rich
 
Posts: n/a

Default Re: Problem with Pick basic - 10-10-2003 , 06:24 AM



gdr (AT) courtfields (DOT) com (Gulraj Rijhwani) wrote in message news:<20031010.0149.2453snz (AT) courtfields (DOT) com>...
Quote:
On 9 Oct, in article
311e4495.0310090711.38e5fe77 (AT) po...OT) google.com
richard (AT) calidore (DOT) com "Rich" wrote:

gdr (AT) courtfields (DOT) com (Gulraj Rijhwani) wrote in message
news:<20031009.0202.2427snz (AT) courtfields (DOT) com>...

One more thing. I may be wrong, but I *think* the error message number
you want is 251, or B251. (Not that I've seen a lot of unassigned
variable errors in my time, you inderstand. Oh no. Never happened to
me. No, no, no... Harrumpf.)

Try message B10 in ERRMSG

OK. So what's 251, then? Now it's bugging me.

Sorry! there is no reference to 251 in ERRMSG in mvBASE or AP/Pro


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.