home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Boston 2
/
boston-2.iso
/
DOS
/
PROGRAM
/
BASIC
/
POWBASIC
/
LIBRARY1
/
EXAMP2.ZIP
/
PB090490
< prev
next >
Wrap
Text File
|
1990-09-04
|
10KB
|
272 lines
all
H#: 63316 S12/SPECTRA Publishing
31-Aug-90 13:02:11
Sb: pc-week
Fm: Mike Burns 71551,1353
To: Bob Zale 76304,1303 (X)
Bob,
I saw your comments in pc-week about Basic in general. I was
glad to see some other people realize the vast improvements in
the language that have been wrought by developers such as
yourself. Basic is an easy language to use to develop new systems
and as basic becomes more powerful, I find myself choosing
it more than C. It is possible to create powerful programs
with a low maintenance cost.
Keep Up the good stuff ------ Mike
Press <CR> for next or type CHOICES !
H#: 63702 S12/SPECTRA Publishing
03-Sep-90 10:21:12
Sb: #Peace and Quiet !
Fm: Bob Zale: PowerBASIC R&D 76304,1303
To: ALL
All you PowerBASIC users out there! And prospective users, too!
It's getting far too peaceful around here. Doesn't anyone have
a problem; a question; even a complaint? It couldn't be possible
that PB is now totally bug-free, could it? (I can dream, can't I?)
We may have to announce the new PowerBASIC version #2.10 a little
early, just to get some commotion around here!
Bob Zale (PowerBASIC R&D)
There are 3 Replies.
Press <CR> for next or type CHOICES !
H#: 63738 S12/SPECTRA Publishing
03-Sep-90 14:02:00
Sb: #63702-Peace and Quiet !
Fm: Skene Moody 72657,1553
To: Bob Zale: PowerBASIC R&D 76304,1303 (X)
OK, hot dog, where's my equivalent to argc, argv[] ('C')/ParamCount, ParamStr
(Pascal) equivalent in PowerBASIC? <gin>
-Skene-
Press <CR> for next or type CHOICES !
H#: 63756 S12/SPECTRA Publishing
03-Sep-90 16:31:18
Sb: #63702-#Peace and Quiet !
Fm: JOHN E. SHIREY 75676,223
To: Bob Zale: PowerBASIC R&D 76304,1303 (X)
Bob:
I'm confused by all these patches to PowerBASIC. I have an early version
and am still plagued by compiler out of memory probems.
This is despite all attempts to alleviate the memory problem. I would
appreciate a discussion of the version patches and how one might obtain them.
J.Shirey
There is 1 Reply.
Press <CR> for next or type CHOICES !
H#: 63780 S12/SPECTRA Publishing
03-Sep-90 20:09:59
Sb: #63756-Peace and Quiet !
Fm: Barry Erick for Spectra 75300,214
To: JOHN E. SHIREY 75676,223
The patches are in the library. For info on them, check out PBNews.Zip, which
tells about them and other things. If you do not have PB 2.00b, then do this:
Contact Spectra at 1030D East Duane Ave, Sunnyvale, CA, 94086, phone (408)
730-9291. Or, better yet, since you are (obviously) on CIS, send EMail to Tim
at 71530,2640.
--- Barry
Press <CR> for next or type CHOICES !
H#: 63782 S12/SPECTRA Publishing
03-Sep-90 21:33:16
Sb: #63702-Peace and Quiet !
Fm: Rob Chandler 72537,1065
To: Bob Zale: PowerBASIC R&D 76304,1303 (X)
Hello bob & tim
Nice to see you on compuserve. I've been using powerbasic
since the upgrade was first announced in TUG. It's a terrific
product & the support has been fantastic (thanks tim).
Keep up the good work
rob chandler
Press <CR> for next or type CHOICES !
H#: 63783 S12/SPECTRA Publishing
03-Sep-90 21:48:39
Sb: #$Link & ^KP Questions
Fm: Richard Kanarek 72371,111
To: All
Howday! I'm having some trouble $linking assembly language rutiness into a PB
program (it my first time trying, BTW) and I think its time to raise the white
flag! Here's what I've done so far: (If you see any errors/mistakes please
don't hesitate to say so!): On first attempt to test a section of both programs
I... 1)Kept getting err 507 (Invalid $link file). Solution: I realized that the
assmb language examples in the book weren't in standard segment just becuase
you like standard segments! Replaced simplified segments, Error gone... 2) Kept
getting 462 (Unidentified sub). After trial and error, discovered that while
the `parameter options' list might be optional, the brackets () aren't! Error
gone... 3) Test ran sample section of program- pgrm vomited on screen & crashed
(nothing new for me there!) Attempted to debug using TD but was greated by "no
symbol table" message. Recompling everything (PB & assembly language code) with
`map file',`/zi',`/v' respectively but could not satisfy TD `symbol table'
demand. Finaly inserted a beep & delay in PB code right before the call to the
asmb. pgrm so that I could let it run in TD while being able to switch to
`trace' mode before call. It apears that either ds & dx aren't being loaded
with the right values or the data they are suposed to be pointing to is being
written over. Searched through large areas of memory and was unable to find the
text string that was suposed to be there! 5)Decided to write the experts @
Spectra with there own software. Accidently hit <Prt Sc> and the computer
locked up- after I had gotten 1/2 way through the letter and before I saved
any! (You gents REALY must do something about this! Why does PB HATE printers
so much!?! You know ^KP works no better!) Well, a sample of both programs
follows this letter. If you (anyone) find the time, any sugestions will be very
much appericated! Corially,Richard Kanarek
There are 2 Replies.
Press <CR> for next or type CHOICES !
H#: 63784 S12/SPECTRA Publishing
03-Sep-90 21:51:27
Sb: #63783-$Link & ^KP Questions
Fm: Richard Kanarek 72371,111
To: Richard Kanarek 72371,111 (X)
Power Basic Program (Edited- Acutally aprox. 1500 lines)
$DEBUG MAP ON
$error all on
'Lots of DIM & variable$=string statements
ArmUpdate:
on timer(1) gosub update 'I trust these won't bother me?
timer on
Armhelp:
key 15,CHR$(&H08, &H23) ' " " "
on key(15) gosub Hlp
key(15) on
declare SUB asmbinfo()
mainscreen:
cls
? "Several lines of print..."
call asmbinfo 'the offending call statement you've been
'reading so much about!
'the program never goes farther than this, why should you!
Assembly Language rutines: (Edited, actual size aprox 1500 lines):
.8086
jumps
LOCALS
NOWARN RES
DSEG segment BYTE
ASSUME DS:DSEG
;=+=DATA [Start]=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
cr equ 13
lf equ 10
gen_info db "File: ",??filename,"Date: ",??date," Time: ",??time
db cr,lf,"(So I'll know what ver. is linked into any"
db "*.exe pgrm this is included in.)",cr,lf,"$"
;P.S. I wasn't able to find the above when I used TD to search several
; areas of memory! Where did it go???
;---Lots more data...
DSEG ends
;=+=DATA [End]=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
CSEG segment BYTE
ASSUME CS:CSEG
;------Asmbinfo [Start]--------------------
;prints general information about the assembly code.
;++NOTE: To be called by a FAR call ONLY!!! (i.e. PB)
asmbinfo proc FAR
public asmbinfo
;this section saves the register values to the stack
push ax
push bx
push cx
push dx
pushf
mov ax,DSEG ;Do I need to initialize the DS reg???
mov ds,ax ;I could be wrong but it didn't seem to
;help either way!
mov dx,OFFSET [gen_info]
mov ax,0900h
int 21h
;this section restores register values from the stack.
popf
pop dx
pop cx
pop bx
pop ax
retf
asmbinfo endp
;------Asmbinfo [End]----------------------
Well, that wasn't so long, was it? Alright, it was. But think,
when was the last time you got so much spaghetti for free! Eat
carefully though- watch out for bugs!
Thanks in advance,
Richard Kanarek
Press <CR> for next or type CHOICES !
H#: 63808 S12/SPECTRA Publishing
04-Sep-90 05:00:18
Sb: #63783-$Link & ^KP Questions
Fm: Barry Erick for Spectra 75300,214
To: Richard Kanarek 72371,111
Richard,
The main problem is where youhave the initialized data. The data segment can
only have uninitalized data in it and you have initialized data in it. If you
just delete your data segment and move the assigments to the cseg, after the
endp, for instance, but before a cseg ends, you'll be ok. Also, make ds point
to that. One other thing, it is best to save bp and ds.
you'll see this error message in the next version of PB, and you'll be happy
to be using td without the error message you saw.
Printing problems? ^KP not working? Both print screen and ^KP work here. But
tell us more.
-- Barry
Press <CR> for next or type CHOICES !
H#: 63830 S12/SPECTRA Publishing
04-Sep-90 07:14:20
Sb: Converting TP reals
Fm: Joe Vest 74017,1672
To: [F] ALL .
Anyone,
Does anyone have an algorithm for translating Turbo-Pascal six byte reals to
PB? I have tried using the information about the mantissa level in the back of
the TP manual, no luck.
Thanks for any help,
/joe/
Press <CR> for next or type CHOICES !
HPC Vendor B ForumHSections Menu
Section names (#subjs/# msgs)
1 Quarterdeck (72/165)
2 Primavera Systems (1/2)
3 Korenthal Assocs. (3/5)
4 Personics Corp. (17/30)
5 Quicksoft (4/7)
6 TurboPower Software (53/179)
7 ChipSoft, Inc. (2/2)
8 DacEasy (8/13)
9 Vestronix (1/1)
10 J.P. Software (21/88)
11 PDC Prolog (6/15)
12 SPECTRA Publishing (4/10)
HEnter choioce(s) or ALL !ff
Exiting at 04-Sep-90 08:31:38
Thank you for visiting PC Vendor B Forum