On Wed, 9 Apr 2008 07:02:03 -0400, "Bill Leary" <Bill_Leary@[EMAIL PROTECTED]
>
wrote:
><ArarghMail804NOSPAM@[EMAIL PROTECTED]
> wrote in message
>news:smsov3l6e0l6p3rnnt45bkqpm2c5vu289v@[EMAIL PROTECTED]
>> On Tue, 8 Apr 2008 21:51:43 -0700 (PDT), "R.Nicholson"
>> <rhnlogic@[EMAIL PROTECTED]
> wrote:
>>>On Apr 8, 9:27 pm, ArarghMail804NOS...@[EMAIL PROTECTED]
wrote:
>>>> On Tue, 8 Apr 2008 11:20:03 -0700 (PDT), "R.Nicholson"
>> <snip>
>>>>
>>>> Well, the proper way is to pass the string the normal way and use the
>>>> (do***ented) basic runtime routines STRINGADDRESS & STRINGLENGTH to
>>>> retrieve the address and length.
>>>
>>>What 1980 versions of Basic have those do***ented runtime
>>>routines? None that I remember. Maybe a 1986 version?
>>
>> 1989. First do***ented in MS PDS 7.0. There may be some
>> do***entation in the QB 4.5 books for mixed language programming,
>> but it's too much trouble to dig them out and look.
>
>I just started QB 4.5 and checked the built-in index. Neither are there.
If you mean the online help, I did that. Not there. That's why I
said it may be in the books.
>> They are aliases of normal runtime routines and so may be available
>> in eariler versions -- the normal routines, that is. The aliases don't
>> exist in the versions I have checked. (And my comments only apply
>> to DOS MS 16-bit basic products, as they are all I have to check
>> against.)
>> STRINGADDRESS B$SADD
>> STRINGLENGTH B$FLEN
>> STRINGASSIGN B$ASSN
>> STRINGRELEASE B$STD1
>
>Looking at the same index, SADD is there, FLEN, ASSN and STD1 are not.
>
All 4 exist in BCOM45.LIB, except STD1 is called STDL.
I would have to examine them to see if the calling sequence is the
same as PDS 7.10, which is what I use.
Partial BCOM45.LIB listing:
<snip>
B$ASPRF...........grfpinit B$ASSN............string
<snip>
B$FLEN............strfcn B$FloatCONASC.....fout
<snip>
B$SADD............strfcn B$SASS............stcore
<snip>
B$STDGET..........llparam B$STDL............string
<snip>
They are also in BCOM41.LIB.
Also in BCOM40.LIB.
Not in BCOM30.LIB, at least not with these names.
It appears that naming conventions changed between QuickBasic 3 & 4,
so finding these routines in the earlier libraries would be a pain.
--
ArarghMail804 at [drop the 'http://www.'
from ->] http://www.arargh.com
BCET Basic Compiler Page: http://www.arargh.com/basic/index.html
To reply by email, remove the extra stuff from the reply address.


|