HDTenEightyP/NetNews huggingface dataset:
From: hammons@syl.dl.nec.com (Bud Hammons)
Subject: request for Q-Basic grammar
Keywords: grammar, Q-Basic
Organization: NEC Systems Lab., C&C Software Technology Center (Dallas, TX)
Date: Fri, 24 Jul 1992 21:48:40 GMT

Does anyone reading this group have a machine-readable grammar specification 
for Q-Basic that could be shared?  LEX/YACC format would be fine, but I'm not
picky about the exact representation.  Thanks for your attention.

regards,

-- Bud


-- 
****************************************************************************
* Bud Hammons            Internet:   hammons@syl.dl.nec.com                *
****************************************************************************

  

Newsgroups: alt.lang.basic
From: boutell@cshl.org (Tom Boutell)
Subject: Re: Link problems with QuickBASIC 4.5
Organization: Cold Spring Harbor Laboratory
Date: Fri, 24 Jul 92 15:42:06 GMT

In article <1992Jul23.194513.14047@Princeton.EDU> bstango@phoenix.Princeton.EDU (Bob T. Stango) writes:
>
>OK PROGRAMMERS. Here is my situation. Using QuickBASIC 4.5. I have one
>main program and three sub programs. 

I'm a bit uncertain about what you mean here. Do you mean one main program
and three actual SUBs, or one program and three separate *modules* with
their own global variables and multiple SUBs, FUNCTIONs, et cetera?

I want to link the three sub
>programs to the main program and then compile them into one large .exe
>file. Using lib to make a library with the three object files seems to
>work ok. After linking the .lib file with the main program and creating
>an .exe file, it then chokes trying to do one of the sub functions. I
>think all variables are defined properly. Am I going about this wrong?
>Any help apreciated.

Well, if all you want is to be able to use SUBs, they can go in the same file
with your main program. But I would assume you know this.

You can build your program in the environment, probably. Is there a reason
why you're doing this from the command line?

Give me more information on what exactly you're doing, and I can probably
help you out of the woods. Either of the things I think you might have
meant (grin) are doable, but I need to know which and to have some idea
what sort of syntax you're using so far.



-- 
My return address now works!
Believe it or not there is life after college. At least if you live
near NYC.

Xref: sparky alt.lang.basic:502 alt.msdos.programmer:2061 comp.os.msdos.misc:4494 comp.os.msdos.programmer:8035
From: rayo@chromc.CHROMCRAFT.COM (Ray O'Brien)
Newsgroups: alt.lang.basic,alt.msdos.programmer,comp.os.msdos.misc,comp.os.msdos.programmer
Subject: remote printing problems
Date: 23 Jul 92 20:21:33 GMT
Followup-To: alt.lang.basic
Organization: Chromcraft Furniture Corporation

Hi all,
    I am having trouble printing remotely on a lan (lanlink 5x & multilink)
through certain programs. Everything prints fine on the pc with the printer
attached but the remote pc works for print-screen, print, 123 with remote
lpt1 configured. It will not print in 123 with lpt1 configured as local.

    The application I really need to get working is in ms compiled basic, I
have tried the following qbasic programs.
 
10 lprint "test"

and this gives device unavailable

but

10 open "lpt1" for output as #1
20 write #1, "test"

works ok. If anyone has any ideas or workarounds for this please let me know.
Please reply via email if possible.

--------------------------------------------------------------------------------
Ray O'Brien                    -- Chromcraft --            (601) 562-8203 x-383
1 Quality Lane, Senatobia MS 38668
uucp {sco,homecare,crux,uunet}!chromc!rayo  -----  internet rayo@CHROMCRAFT.COM
--------------------------------------------------------------------------------
Newsgroups: alt.lang.basic
From: philco@microsoft.com (Phillip Cooper)
Subject: Re: gwbasic
Date: 22 Jul 92 20:49:58 GMT
Organization: Microsoft Corporation

In article <1992Jul20.125422.29337@magnus.acs.ohio-state.edu> dhiggs@magnus.acs.ohio-state.edu (Unrecoverable Application Error) writes:
>
>In article <1992Jul20.120509.29004@Informatik.TU-Muenchen.DE> schumanm@Informat
>ik.TU-Muenchen.DE (Matthias Schumann) writes:
>+Hi,
>+
>+i want to ask a question for a  friend, who has no internet
>+access. The question is about the use of GWBASIC on IBM PS/2
>+model 40 hardware.
>+
>+My friend has a lot of programs written in GWBASIC on an Oli-
>+vetti M24 computer. His problem with the PS/2 is that if he wants
>+to use the SCREEN function the system responds with "Illegal function
>+call". I am not a PC user but i guess that the problem is related to
>+the different graphic cards (CGA <> EGA <> VGA) ?!?!
>+
>+Is there someone, who could give a hint on this problem ???
>
>Matt,
>     I believe the PS/2's, use a graphics card for what IBM calls MCGA.  I'm 
>not sure GW supports this mode but it may be a simple matter of changing the
>SCREEN n statements to the appropriate mode.  Otherwise, QuickBASIC does 
>support MCGA and the PS/2 line as well as having instructions to convert your 
>GW programming to QB with minimal effort.
>
>Keith.

   All of the above is correct.  One important note though:  GWBASIC is a
component of MSDOS.  As far as I know, no PS/2's ship with either MSDOS
or GWBASIC.  If your friend is running GWBASIC on a PS/2, make SURE that
he/she has purchased an MSDOS upgrade.  Otherwise, he/she is breaking the
law.  (Note:  I'm not trying to be a smartass, or start a flame war, just
making sure that everyone is aware of licensing and copyright
considerations.)

Phil Cooper


Newsgroups: alt.lang.basic
From: wilson@jupiter.sun.csd.unb.ca (Banff Sterling)
Subject: NEED CODE: Full Screen Editor written in basic....
Organization: University of New Brunswick
Date: Mon, 27 Jul 1992 18:29:18 GMT

Anyone have any idea where I can get the code for a full screen text editor
written in BASIC?

Just curious....

K>
From: hrs@aber.ac.uk (Herbert Martin Sauro)
Newsgroups: alt.lang.basic
Subject: Re: VB question
Date: 31 Jul 92 10:46:16 GMT
Organization: University of Wales, Aberystwyth

Dear netters,

Now I don't know if this is the right place to ask this but I have
a problem with the shell command in visual basic. Maybe this question
has already been answered. My problem is this. We have a C application
(non-windows) which we want to run from a friendly front end written in VB. 
The C program returns a status value when it exits indicating whether all
went well or not. How does one obtain this return 
value if the C program is called from VB. The shell command returns the
task number. I also assume that both the C program and VB will be running
in parallel so how does one know when the C application has completed?

Thanks
Herb
-- 
/******************************************************************************
Herbert Sauro                                   e-mail: hrs@aber.ac.uk
Biological Sciences                              phone: +44 970 622353
Univesity College of Wales                      
Newsgroups: alt.lang.basic
From: dhiggs@magnus.acs.ohio-state.edu (Unrecoverable Application Error)
Subject: Re: VB question
Organization: Another school running out of money!  Thanks George!
Date: Fri, 31 Jul 1992 14:14:31 GMT


In article <1992Jul31.104616.13026@aber.ac.uk> hrs@aber.ac.uk (Herbert Martin S
auro) writes:
+Dear netters,
+
+Now I don't know if this is the right place to ask this but I have
+a problem with the shell command in visual basic. Maybe this question

Yes, this is the right place to ask this!!!  There are several VB users
reading this group.

+has already been answered. My problem is this. We have a C application
+(non-windows) which we want to run from a friendly front end written in VB.
+The C program returns a status value when it exits indicating whether all
+went well or not. How does one obtain this return
+value if the C program is called from VB. The shell command returns the
+task number. I also assume that both the C program and VB will be running
+in parallel so how does one know when the C application has completed?
+

I don't consider myself particularly expert in VB but I'll assume that you
want to include your C object file when you compile and use some kind of
error level checker to verify completion status.  Any of you more experienced
VB users should jump in here and feel free to tell me I'm full of something!

Keith.
-- 
D.K.Higgs  DATA+@osu.edu a.k.a dhiggs@magnus.acs.ohio-state.edu  _____   __o
Ohio State University Libraries, Acquisitions Department       -----    -\<,
Continuation Acquisition Division                              ----- ( )/ ( )
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\_________/~~~~~~~~~~~~~~~~~~~
Newsgroups: alt.lang.basic
From: edwards@andy.bgsu.edu (Bruce Edwards)
Subject: Re: Future Basic
Summary: more specifics
Organization: Bowling Green State University B.G., Oh.
Date: Tue, 21 Jul 1992 18:06:08 GMT

In article <20JUL199218540610@vx.cis.umn.edu>, soc1070 writes:
> Interesting.... Does anyone know the publisher? And will it work with
> QuickBasic code? (It better if it wants to break in fast). The idea of
> having some interface tools is also very appealing.
> 
> I, too, wish Microsoft would show some support for Mac QuickBasic. its
> been too long without any improvement/modernization.
> 
> Is there a archive someplace for macintosh QuickBasic code?
> 
> Tim Harincar			"Always listen to experts.			
> Central Minnesota 		They'll tell you what can't
> Association of Rocketry		be done and why. Then do it."
> soc1070@vx.acs.umn.edu			-Lazarus Long


Trust me you want to look into this one:
 
ZEDCOR                                                             
ZBasic / FutureBasic                             
602-795-3996 (tech support)
    
Staz Software PG:PRO
443 Yacht Club Drive / Suite 1008
Bay St. Louis, MS 39520       
601-255-7805           
                                                     
McZ Ariel Publishing    
P.O. Box 398
Pateros, WA 98846             
(509) 923-2249                      
                                                                                
Tamara Lambert          
Subscription Services                    

If you are programming in Basic on the Mac you need
to look into these products.

Also Inside Basic is a perodical devoted to Basic
programming on the Mac (Ariel Pub)

edwards@andy.bgsu.edu

(I'm not affiliated with any of these companies, just
a inspired user)

-- 

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
edwards@andy.bgsu.edu  (ken jenkins as guest of Bruce Edwards)
century marketing corporation
From: galenr@hpgrla.gr.hp.com (Galen Raben)
Date: Mon, 27 Jul 1992 20:50:32 GMT
Subject: Re: BMP pictures in VB
Organization: Hewlett-Packard, Greeley, CO
Newsgroups: alt.lang.basic

In alt.lang.basic, cnt@mace.cc.purdue.edu (Patrick) writes:
>I have some pictures that I scanned in with 120dpi resolution (using
>MicroTek Color) and want to import in my VB application.   When I 
>preview the pictures, say in WINGIF, they look just fine,  but once I
>import them in my VB application, they look like a bad BW negative.
>WHy is this?   Will I have no other option than scanning in my pictures
>in 300 dpi or higher?  

>Patrick Duparcq
>Bitnet:  duparcq@purccvm
>Internet: duparcq@vm.cc.purdue.edu

Are these 256 color images?  You mentioned that you may have to scan in
at 300 dpi or higher, does this mean it works at a higher dpi?

The resolution you are scanning at should make no difference.  VB currently
supports only 16 color bitmaps, my guess is that you tried to import images
that have too many colors (256 or 24bit?).  Usually this shows up at run
time rather than at design time.  You might try reducing (via WINGIF options)
the number of colors or scan at 16 colors.
Hope this helps!
- Galen - 
Newsgroups: alt.lang.basic
From: philco@microsoft.com (Phillip Cooper)
Subject: Re: Link problems with QuickBASIC 4.5
Date: 27 Jul 92 17:53:34 GMT
Organization: Microsoft Corporation

In article <1992Jul24.152317.28957@magnus.acs.ohio-state.edu> dhiggs@magnus.acs.ohio-state.edu (Unrecoverable Application Error) writes:
>In article <1992Jul23.194513.14047@Princeton.EDU> bstango@phoenix.Princeton.EDU
> (Bob T. Stango) writes:
>+
>+OK PROGRAMMERS. Here is my situation. Using QuickBASIC 4.5. I have one
>+main program and three sub programs. I want to link the three sub
>+programs to the main program and then compile them into one large .exe
>+file. Using lib to make a library with the three object files seems to
>+work ok. After linking the .lib file with the main program and creating
>+an .exe file, it then chokes trying to do one of the sub functions. I
>+think all variables are defined properly. Am I going about this wrong?
>+Any help apreciated.
>+
>+Bob Stango
>+========================---------------------===========================
>Two possibilities occur to me quickly...
>     1-   load you main module with the other two configured for inclusion
>via the $INCLUDE metacommand.  See your manual or on-line help for the details 
>on that.  From there you should be able to compile all together.
>

You should never, ever, ever use the include statement to bring in 
executable code.  This should be reserved for typedefs, declares, static
variable declarations, defint's etc.  Bringing in executable code can
lead to nightmarish debugging problems.

Phil Cooper

>     2-   <deleted>
Newsgroups: alt.lang.basic
From: neuwirth@ferranti.com (howard neuwirth-hirsch)
Subject: Re: Link problems with QuickBASIC 4.5
Organization: Ferranti International Controls Corporation
Date: Fri, 24 Jul 1992 22:05:10 GMT

In article <1992Jul23.194513.14047@Princeton.EDU>, bstango@phoenix.Princeton.EDU (Bob T. Stango) writes:
> 
> I want to link the three sub
> programs to the main program and then compile them into one large .exe
> file. [...] After linking the .lib file with the main program and creating
> an .exe file, it then chokes trying to do one of the sub functions. I
> think all variables are defined properly.
> 
> Bob Stango

One suggestion:  be sure you have declared the modules in your main
program.  Build the three subprograms into a quick library and you can
test this all out in the quick environment.  It will tell you quickly
if you are missing the declarations.

H.

-- 
Howard Neuwirth-Hirsch

neuwirth@ficc.ferranti.com
Newsgroups: alt.lang.basic
From: vspicer@ccu.umanitoba.ca ()
Subject: link problems qb 4.5 and qc 2.5
Organization: University of Manitoba, Winnipeg, Manitoba, Canada
Date: Wed, 29 Jul 1992 20:05:12 GMT

i have several fast fourier transform functions defined in microsoft
quick C 2.5, and these need to be accessible to a data acquisition
program written in quick basic 4.5 (it's the only language with libraries
for the DAS-20 board we have). 

i am having problems doing a link. the instructions tell me to form a
quick library from the C object files. the linker requests a library
included in the C package and when linking this library in it gives
several errors to the effect "certain symbols defined more than once".

any hints/ideas on how to properly link qc 2.5 and qb 4.5 code?

thanks in advance
	vic spicer

Newsgroups: alt.lang.basic
From: wilson@jupiter.sun.csd.unb.ca (Banff Sterling)
Subject: HELP!!!! - need help on determining whether a dir/file exists in TB
Organization: University of New Brunswick
Date: Thu, 23 Jul 1992 17:00:10 GMT

Could anyone send me an excerpt of code that would allow me to check for the
presense of a dir/file in turbo basic - I've tried opening a file with error
checking to detect it's presense but turbo basic didn't acknoledge my error
trapping routine -

Any ideas?

Please email directly to:
  wilson@jupiter.sun.csd.unb.ca

Keith


Newsgroups: alt.lang.basic
From: doug@cc.ysu.edu (Doug Sewell)
Subject: VB for DOS
Organization: Youngstown State University
X-Newsreader: Tin 1.1 PL4
Date: Wed, 22 Jul 1992 02:38:07 GMT

I just saw the first part of an article in PC Week magazine, apparently
Microsoft is getting ready to release VB for DOS, which will build gra-
phical non-windows applications.  It's expected to be the replacement for
QuickBasic, which hasn't been improved for two years.

My thoughts were:
(1) if I were in Microsoft marketing, I'd kill this, because it furthers
    the non-windows environment.
(2) I like VB, but I can think of places where I'd like a non-windows
    app with this kind of development.  I'm not sure whether I'd want
    it to be graphical, as opposed to the mock-windows interface that
    Turbo Vision, Microsoft Works, PC Tools, etc use.

If I get a chance I'll post the article tomorrow.
--
Doug Sewell, Tech Support, Computer Center, Youngstown State University
doug@cc.ysu.edu	   doug@ysub.bitnet	<internet>!cc.ysu.edu!doug
"Recession: your friend loses his job.  Depression: you lose your job.
Recovery: Bush loses his job" - Bill Davidsen
Newsgroups: alt.fishing
From: kenf@darkstar.cso.uiuc.edu (Ken Fortenberry)
Subject: Trico/caddis
Reply-To: kenf@uiuc.edu
Organization: University of Illinois at Urbana
Date: Fri, 24 Jul 1992 17:57:01 GMT

In perusing a calendar of the Western fly fishing season I came
across the following: "Tricos, PMD's and caddis often blanket the
water." PMD must be a Pale Morning Dun and I know that caddis are
in the order Trichoptera. So, what's the difference between a caddis
and a trico ?

I would appreciate it if someone would identify trico for me,
preferably by genus & species, and suggest a good imitation.
I'm not familiar with western patterns so perhaps someone
acquainted with the "tricos" of the Madison, Yellowstone and
Firehole could help me out. I'll be fishing these rivers the
first two weeks of September so those hatches are the ones I
want to imitate. I'd hate to have the water "blanketed" with 
tricos and have to stop and tie one. :-)

--
Ken Fortenberry                            | Internet: kenf@uiuc.edu
University of Illinois at Urbana-Champaign | BITNET: KENF@UIUCVMD.BITNET
Computing & Communications Services Office | UUCP: uunet!uiuc.edu!kenf 
1304 W. Springfield Ave.  Urbana, IL 61801 | Phone: (217) 244-3215
From: smash@oucsace.cs.ohiou.edu (Scott Mash)
Newsgroups: alt.fishing
Subject: Need doughball recipe
Date: 22 Jul 92 13:17:57 GMT
Organization: Smasher Land BBS (614)593-8359


I have been doing a lot of catfishing lately and have had lots of 
luck, outside of the turtle infestation at my favorite lake (fox lake). 
Usually I stop at the supermarket and buy some livers and 
gizards, there is not as much action on the gizards but at least
they stay on my hook.  

Now I want to move onto carp and I have heard that doughballs work
the best.  Does anyone have a "recipe" for carp doughballs?  What
type of water is the best to fish on for carp (river, lake, pond)?


Scott Mash

 
-- 
| smash@oucsace.cs.ohiou.edu         |  Scott A. Mash               |
| smash@bigbird.cs.ohiou.edu         |  Smasher Land RPG BBS        |
| system@smashland.nelsonville.oh.us |  (614) 593-8359, 2400 Baud   |
| cs819@ouaccvmb.bitnet              |  RPG Textfiles And Utilities |
Newsgroups: alt.fishing
From: termaat_j@doc.flc.colorado.edu (TERMAAT_J)
Subject: Fishing in Banff 
News-Software: VAX/VMS VNEWS 1.41    
Keywords: Banff
Reply-To: TERMAAT_J@doc.flc.colorado.edu
Organization: Fort Lewis College
Date: Wed, 22 Jul 1992 16:46:00 GMT

	I'm planning a trip to Banff, Alberta in early August.  Does anybody
have any tips as to where and how to fish that area?  Thanks for the info.


			John Ter Maat
			Durango, Colorado

			termaat_j@flc.colorado.edu 

Newsgroups: alt.fishing
From: D. S. K. Magnuson <dsk@scrc.umanitoba.ca>
Subject: Re: Campbell River BC salmon question
Organization: spinal cord research centre
X-Useragent: Nuntius v1.1
Date: Wed, 22 Jul 1992 21:57:44 GMT

In article <1992Jul20.205422.7575@intelhf.hf.intel.com> David Covell,
dcovell@pcocd2.intel.com writes:
>trip (i.e. make sure my wife catches a few nice ones!)

from: <dsk@scrc.umanitoba.ca>
My experience with large salmon on the west coast would lead me to
suggest the following:  81/2 to 10 ft. medium action spinning rod with
large capacity open face reel .  The combination should be able to handle
15-20 lb test line and a reel with a drag adjustment on the body of the
reel rather than on the spool is preferable.  I choose Daiwa gear but
shimano, Eagleclaw and others also make some good equipment.  Good luck.
From: pisarevsky@b56vxg.kodak.com (Arkady Pisarevsky)
Newsgroups: alt.fishing
Subject: Re: BOWFISHING C@R IT WORKS
Date: 29 Jul 92 13:44:00 GMT
Organization: Big Yellow Box
News-Software: VAX/VMS VNEWS 1.41

In article <1992Jul27.140221.259@ccsvax.sfasu.edu>, csc1210212@ccsvax.sfasu.edu writes...
>Believe it or not there is catch and release.I even saw a video where
>they showed how.I have a pond like and all thats in it are perch and 

    I understand that this is an alt group and people are free to post 
whatever they want as long as it is at least loosely related to the subject 
matter of the newsgroup, but does anybody else besides me find the practice
of shooting rough fish with the bow barbaric and wasteful ? Around here 
a lot of people just throw the fish they shoot on shore to die a slow death 
and rot.

    I can understand fishing for food or catch-and-release style, but to kill
or maime a living critter just for the sake of doing it ?

    Above really isn't meant as a flame -- just my views on that IMHO 
questionable part of fishing. Comments anyone ?

**-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-**
**   Disclaimer:  Eastman Kodak Co. does not support all of my views.    **
**   EMAIL:  pisarevs@kodak.com                                          **
**-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-**
From: plh@eos.ncsu.edu (Pat L. Heron)
Newsgroups: alt.fishing
Subject: Re: BOWFISHING C@R IT WORKS
Date: 29 Jul 92 17:20:07 GMT
Organization: North Carolina State University

In article <29JUL199208441910@b56vxg.kodak.com>, pisarevsky@b56vxg.kodak.com (Arkady Pisarevsky) writes:
|> In article <1992Jul27.140221.259@ccsvax.sfasu.edu>, csc1210212@ccsvax.sfasu.edu writes...
|> >Believe it or not there is catch and release.I even saw a video where
|> >they showed how.I have a pond like and all thats in it are perch and 
|> 
|>  but does anybody else besides me find the practice
|> of shooting rough fish with the bow barbaric and wasteful ? Around here 
|> a lot of people just throw the fish they shoot on shore to die a slow death 
|> and rot.
|> 
|>     I can understand fishing for food or catch-and-release style, but to kill
|> or maime a living critter just for the sake of doing it ?
|> 
|> Comments anyone ?

I strongly agree and disagree...

1) Call me a protagonist (even if I can't spell the word), if the fish 
   that are shot are junk fish, In many cases they are bad for the 
   habitat of the game fish.  Carp can sterilize a lake of vegetation that 
   is needed for a healthy forage base.  Bowfin and gar compete with 
   gamefish for forage.  So reducing the population of these junk fish 
   may help game fish populations. (I hope that catfish are protected 
   by regulation, but I don't think they are).   

2) I don't understand killing animals just for the fun of it 
  (at least not after my 14th birthday).  Can you imagine killing 
  a 100# alligator gar for fun?  I wonder how many years one of 
  these modern day dinosaurs would have to live to reach that 
  respectable size?  Fighting a giant gar on a rod and reel would 
  be another story, provided that C&R is employed (i.e. the gar decides 
  to let me go).

	-Pat.
Newsgroups: alt.fishing