May 29, 2024, 08:27:14 AM

News:

Own IWBasic 2.x ? -----> Get your free upgrade to 3.x now.........


Recent posts

Pages1 2 3 ... 10
1
User Offerings / Re: Tablets Database
Last post by Brian - May 23, 2024, 11:35:13 AM
Here's the lib and inc files for DDoc, if you need them, for the above program

Brian
2
User Offerings / Re: Tablets Database
Last post by Brian - May 23, 2024, 04:43:36 AM
Hi,

While using this program, I noticed that if you failed to fill in a required Prescription entry, the program fell over. It now checks all the edit boxes, and if one is empty (or more) the program beeps and highlights the offending edit box in red, and changes to the default colour when you click in it to enter data

This program also fixes an error when updating a Prescription, where if you took more than one tablet per day, it wasn't calculating the RunsOut and OrderBy dates correctly

Everything included in the zip, and includes the exe

Brian
3
User Offerings / Re: Tablets Database
Last post by Brian - May 19, 2024, 08:18:48 AM
Hi,

If anyone is using this program, there is an important, but small, update for the program:

In the EditUpdate() sub, change this line:

InStock-=iVar
to
InStock-=iVar*PerDay

and then re-compile. It was wrongly calculating how many tablets there were left when adding a repeat Prescription to the database. I knew something was wrong, but I couldn't figure out where

Brian
4
General Questions / Re: Question about DEF and DIM
Last post by billhsln - May 15, 2024, 09:23:59 AM
I know I haven't used the 'Type abc,1'.  Of course, I also don't know why it might be required.

Bill
5
General Questions / Re: Question about DEF and DIM
Last post by Rock Ridge Farm (Larry) - May 14, 2024, 07:01:15 AM
I found it in std.inc

Larry
6
General Questions / Re: Question about DEF and DIM
Last post by Egil - May 14, 2024, 05:44:11 AM
Quote from: Rock Ridge Farm (Larry) on May 13, 2024, 04:32:39 PMActually had a couple of very good days. Hands are working.

Larry


Nice to see that you are up and going Larry, almost can't wait to see the finished product.
Never used TYPE myself yet, but I agree with Brian it would be nice to have the possibility to use it.

Good Luck1

Egil
7
General Questions / Re: Question about DEF and DIM
Last post by Brian - May 14, 2024, 03:24:52 AM
I've never actually used it myself, but would use it if I picked up an example using it. Seems to be in the Sapero or PT domain!

Although I think the option should be there to include a packing value, if needed

Brian
8
General Questions / Re: Question about DEF and DIM
Last post by Rock Ridge Farm (Larry) - May 13, 2024, 04:32:39 PM
OK - that is solved - now for the next: Does anyone use byte packing
in structures ie: TYPE abc,1
I can find little to no value to it in the new compiler - it produces
llvm .ll output.

Actually had a couple of very good days. Hands are working.

Larry
9
General Questions / Re: Question about DEF and DIM
Last post by Brian - May 12, 2024, 06:32:32 AM
From the EBA help file:

Array dimensions must be a constant or resolve to a constant. For dynamic arrays see the NEW statement. A colon ':' may be used as a shortcut to the AS keyword. DIM is a synonym for DEF and the two can be used interchangeably.

Brian
10
General Questions / Re: Question about DEF and DIM
Last post by billhsln - May 11, 2024, 11:05:56 PM
Older compatibility.  DIM was EBA, DEF is IWB, if I remember right.

Bill
Pages1 2 3 ... 10