From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10f8a1,90913d25ee29fad7,start X-Google-Attributes: gid10f8a1,public X-Google-Thread: 1164f8,90913d25ee29fad7,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-07-12 19:13:45 PST Path: bga.com!news.sprintlink.net!hookup!swrinde!howland.reston.ans.net!europa.eng.gtefsd.com!newsxfer.itd.umich.edu!nntp.cs.ubc.ca!mala.bc.ca!dunnett From: dunnett@mala.bc.ca (Malcolm Dunnett) Newsgroups: vmsnet.alpha,comp.sys.dec Subject: Problem with /OPT on DEC BASIC AXP Message-ID: <1994Jul12.182706.4407@malins.mala.bc.ca> Date: 12 Jul 94 18:27:06 -0700 Organization: Malaspina College Xref: bga.com vmsnet.alpha:845 comp.sys.dec:4292 I'm converting a bunch of VAX BASIC programs to DEC BASIC on an Alpha. The conversion seems to go OK if I use /NOOPT, but there's some weird problems if I use any of the Optimize levels. One I've identified so far is that strings are getting messed up, ie if I say: b$ = a$ + "some text" it seems that only part of "some text" gets added to b$. Has anyone else seen this? Is there an ECO out? What's your impression of optimization in DEC BASIC in general, should I worry about getting this fixed or just ignore Optimize? (most of these programs are going to be IO bound anyway) Any other strange things I should watch out for? -- ============================================================================= Malcolm Dunnett Malaspina University-College Email: dunnett@mala.bc.ca Computer Services Nanaimo, B.C. CANADA V9R 5S5 Tel: (604)755-8738