[Info-vax] VMS Software needs to port VAX DIBOL to OpenVMS X86 platform

Steve Ives steve.ives at gmail.com
Wed Dec 16 23:17:39 EST 2020


On Wednesday, December 16, 2020 at 5:49:56 PM UTC-8, Arne Vajhøj wrote:
> On 12/16/2020 3:24 PM, Steve Ives wrote: 
> > By the way, just a bit of fun. In modern "DIBOL", written in Visual Studio (optional), bottles of beer can now be done like this: 
> > 
> > proc 
> > data i, int 
> > for i from 99 thru 1 by -1 
> > Console.WriteLine("{0} Bottle{2} of Beer on the wall,{1}{0} Bottle{2} of Beer,{1}Take one down, pass it around,{1}{0} Bottle{2} of Beer on the wall.'{1}",i,%char(13)+%char(10),i>1?"s":"")
> Is that just for .NET platform or have you 
> implemented Console.WriteLine for native as well? 
> 
> Arne

In this form it's .NET code, but we do have Console.WriteLine in traditional DBL (DIBOL) also. But it doesn't do all the String.Format() substitution stuff.



More information about the Info-vax mailing list