October 29, 2025, 01:09:22 PM

News:

IonicWind Snippit Manager 2.xx Released!  Install it on a memory stick and take it with you!  With or without IWBasic!


IWB3.0 comment and bug report

Started by Andy, June 26, 2015, 11:13:47 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Andy

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.

Day after day, day after day, we struck nor breath nor motion, as idle as a painted ship upon a painted ocean.

LarryMc

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.
LarryMc
Larry McCaughn :)
Author of IWB+, Custom Button Designer library, Custom Chart Designer library, Snippet Manager, IWGrid control library, LM_Image control library

Andy

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.
:)
Day after day, day after day, we struck nor breath nor motion, as idle as a painted ship upon a painted ocean.