[Info-vax] VMS Software Q1 '23 Update

Johnny Billquist bqt at softjar.se
Mon Jan 30 19:42:44 EST 2023


On 2023-01-29 14:50, Arne Vajhøj wrote:
> On 1/29/2023 1:21 AM, Dave Froble wrote:
>> On 1/28/2023 10:44 PM, Arne Vajhøj wrote:
>>> On 1/28/2023 10:39 PM, Dave Froble wrote:
>>>> On 1/28/2023 8:28 PM, Scott Dorsey wrote:
>>>>> One of the absolute FIRST things that I was told about floating point
>>>>> variables in my first programming class was to NEVER use them to 
>>>>> represent
>>>>> money.
>>>>
>>>> What if you didn't have a choice?
>>>>
>>>> RSTS/E V04b
>>>>
>>>> Signed word integers
>>>> Strings
>>>> Single and double D-float
>>>>
>>>> That's all there was ...
>>>
>>> There is always integers and implied decimal.
>>>
>>> Not fun though.
>>>
>>> And one need an integer with enough bits ...
>>>
>>> Could PDP-11 do 32 bit integers?
>>
>> What part of "signed word integers" didn't you understand?  As in 16 
>> bits. -32768 to 32767.
> 
> I sort of had guessed that word was the same as on VAX,
> but I don't understand how it can't have a 32 bit integer.

BASIC+ do not have much of a type system in general. You imply the types 
by appending $, % or nothing, for string, integer or float. That's about 
it. You cannot declare variables to be of specific, or other types.

But the PDP-11 as such can of course do 32-bit math.

> How does one work with file sizes and file position
> in bytes on PDP-11?

It depends on the OS and language.

> I know you don't do C, but I believe C was invented on
> PDP-11.

Correct. And yes, you do have long there.

   Johnny



More information about the Info-vax mailing list