Interactive PowerBasic Forum

IT-Consultant: Charles Pegge => OxygenBasic => Topic started by: James C. Fuller on December 24, 2023, 01:19:11 PM

Title: 70P9 issue
Post by: James C. Fuller on December 24, 2023, 01:19:11 PM
Charles,
   The attached compiles and runs fine with 07P8 not so with 07P9.
Resource (res) file compiled with gorc.

My command line:
cO2m64 -m -64 CardFile CardFile.res




ERROR:  parameters mismatch for procedure mid_
params given : #string#long@00

OPTIONS:
mid_(gstr_,sys,gstr_) returns sys
mid_(cstr_,sys,gstr_) returns sys


WORD:   la
PROC:   lines
COL:    8
LINE:   305
FILE:   "D:\O2RadAsm\..\OxygenBasic\inc\stringutil.inc"

James
Title: Re: 70P9 issue
Post by: Charles Pegge on December 24, 2023, 05:09:53 PM
Hi James,

You are an excellent bug trapper :)

This one had made its presence felt in Oxygen64.dll before, but hard to trace.

I'll include the fixed version with 07P10. But I attach it below: