IonicWind Software

IWBasic => General Questions => Topic started by: Andy on June 26, 2015, 11:13:47 PM

Title: IWB3.0 comment and bug report
Post by: Andy on June 26, 2015, 11:13:47 PM
Hi,

Just got a copy of the new IWB3.0

It is already making life much easier - thank you all!

I do like all the subroutines being listed in one place, when you have a project with several source files it was becoming harder to remember which sub was in which code.

Also, my project compile has speeded up a little, not as fast as LarrMc's - but still it a little faster so I would tell everyone to get IWB3.0!!
:)

Bug Report....

Perhaps we need a new section on the forum now IWB3.0 is out.

The bug, it's the same as I reported in this topic for IWB2.x
http://www.ionicwind.com/forums/index.php?topic=4772.0

I have checked the iwbstd.incc file (located in the Bin folder of IWB - Program Files) and it is correct as per Larry's fix for IWB2.x

However, I'm getting the same results as I did for IWB2.x before reporting it.

OPENCONSOLE

string dat1$,dat2$,dat3$,dat4$,adate$

dat1$ = MID$(date$,1,2)
dat2$ = MID$(date$,4,2)
dat3$ = MID$(date$,7,4)

dat4$ = dat1$+"-"+dat2$+"-"+dat3$

PRINT "This works - ",DATE$("dd MM yyyy")
adate$ = DATE$("dd MM yyyy")
print "This works - ",adate$

print date$
PRINT dat1$
PRINT dat2$
PRINT dat3$
PRINT "Full date - ",dat4$

DO:UNTIL INKEY$ <> ""
End


I have compiled it as a console but dat1$,dat2$,dat3$,dat4$ do not return any values.
???

Any ideas anyone?

Thanks,
Andy.

Title: Re: IWB3.0 comment and bug report
Post by: LarryMc on June 26, 2015, 11:45:41 PM
OK, the 3.x bug report board is setup

If you are seeing this "="dd-MM-yyyy" " in your iwbstd.incc file then you are looking at your iwb2.x installation because I just checked and the fix did NOT get put in 3.0.

You can copy it (the DATE$ declaration you fixed) from your 2.x to 3.0 if you like.
I've already made the change in the master 3.0 copy and will be issuing a new revision before Monday.

Thanks for reporting it.
Title: Re: IWB3.0 comment and bug report
Post by: Andy on June 27, 2015, 12:15:11 AM
Thanks Larry,

The IWB3.0 iwbstd.incc file had:

$command DATE$(OPT strFormat as STRING),HEAP  - no ="dd-MM-yyyy" as STRING),HEAP

changed it to:
$command DATE$(OPT strFormat="dd-MM-yyyy" as STRING),HEAP

and everything is okay now.

Thanks,
Andy.
:)