Search found 1479 matches

by Dinosaur
Jan 17, 2009 12:17
Forum: Community Discussion
Topic: Expanded "IF" Functionality
Replies: 17
Views: 4710

Hi all My advice here would just be to pick a concisely-named variable and assign the result to that just before the IF block, then use that for comparisons. It's only a couple of extra characters per comparison, it reads better, and it allows more flexibility. I think that is impractical, particula...
by Dinosaur
Jan 12, 2009 6:28
Forum: Community Discussion
Topic: Expanded "IF" Functionality
Replies: 17
Views: 4710

Hi all Stylin, the last time I tried Select Case within a Case was many versions ago. But have just tested and it seems to compile without error. That is now stored in my memory bank for future use. It doesnt detract from my suggestion though. The idea of a macro to test 2 ,3, or more cases is to be...
by Dinosaur
Jan 11, 2009 20:36
Forum: Community Discussion
Topic: Expanded "IF" Functionality
Replies: 17
Views: 4710

Hi all I am already a huge user of select case, but I cant use it where I want to. The program design: Main Loop calls about 40 routines that each control a piece of equipment. Each of these 40 Routines has ONLY a Select Case in it. A sequential Step decides which case I am upto. Select Case jumps t...
by Dinosaur
Jan 11, 2009 13:14
Forum: Community Discussion
Topic: Expanded "IF" Functionality
Replies: 17
Views: 4710

Hi all Select Case is good when the possible cases are multiple. Unless of course you allow a Select case within a Select Case. The obvious flaw is that binary operations are binary operations. The task of the compiler is to make sense of the code. So any time "OR" or "AND" in a ...
by Dinosaur
Jan 11, 2009 5:52
Forum: Community Discussion
Topic: Expanded "IF" Functionality
Replies: 17
Views: 4710

Expanded "IF" Functionality

Hi all I tried to post this as a feature request, but got an error saying basically that you cant enter a request without logging in / signing up. I am already in overload on passwords and username's so will post here and see what you guys think. Basicall I get tired of Typing the same code multiple...
by Dinosaur
Jan 10, 2009 3:17
Forum: General
Topic: Simple File Read
Replies: 5
Views: 965

Hi all

I wrote
Someone please tell me I have made a stupid error, and it really isnt that difficult.
And vince came through.

Regards
by Dinosaur
Jan 10, 2009 2:40
Forum: General
Topic: Simple File Read
Replies: 5
Views: 965

Hi all This is a real confidence killer in FB. This will read the first value in the file. Dim As Integer FileNr Dim As String A1 Dim As String FileSpec,FileName FileSpec = "\Data\*.jvp" FileName = "\Data\100.jvp" 'Dir(FileSpec,63) FileNr = FreeFile Do Open FileName For Input As ...
by Dinosaur
Jan 10, 2009 0:13
Forum: General
Topic: Simple File Read
Replies: 5
Views: 965

Simple File Read

Hi all I cant believe how something so simple has become so difficult. There are about 150 formulae files that I have to convert from an old Qb system to FB. So, simply read the files in, and write them to the new format. Shouldnt take any more then 30 minutes all up. WRONG Firstly, an error that tu...
by Dinosaur
Jan 09, 2009 5:03
Forum: Sources, Examples, Tips and Tricks
Topic: spinifex
Replies: 6
Views: 1754

Hi all I actually have about 3 machines running in Mildura on Kitty Litter, and installed the last one (with FB & Cgui) 3 weeks before christmas at Arumpo Bentonite. I just love the drive over the Hay plains, where it is so flat,and nothing grows higher then 300mm, you get to see the curvature o...
by Dinosaur
Jan 08, 2009 11:01
Forum: Sources, Examples, Tips and Tricks
Topic: spinifex
Replies: 6
Views: 1754

Hi all
As I live in spinifex country I could go out an take some pics.
And where in oz is that exactly ?

I live in Wagga Wagga, not exactly spinifex country, but the winds bring it to us sometimes.

Regards
by Dinosaur
Dec 28, 2008 22:03
Forum: Hardware Interfaces / Communication
Topic: Open Com Baud rates
Replies: 8
Views: 6687

Hi all Your Baud rate doesnt depend on the Cpu but the 16250 chip on the motherboard or the emulation being done.(probably in a small cpld) Additionally, the length and quality of your serial cable, the termination of the screen in the cable, etc, etc. I have never been able to get anything better t...
by Dinosaur
Dec 21, 2008 0:59
Forum: General
Topic: Debugging Error
Replies: 3
Views: 645

Hi all First apologies, I meant to post this in the FBEdit project, so please feel free to move wherever. Stylin, I used your line var tmp = New(@Blank) Task from the post on erasing a UDT. My impression was that this statement would make the Blank udt indeed blank. However, reading the "Placem...
by Dinosaur
Dec 20, 2008 23:18
Forum: General
Topic: Debugging Error
Replies: 3
Views: 645

Debugging Error

Hi all I am getting an error in the debug screen on the Delete tmp statement. Invalid Address specified to RtlFreeHeap( 00320000, 0012FC54 ) Sub EditQ Cdecl (Byval userdata As Any Ptr) '------------------------------------------------- 'Check which are not set in Q, and so remove them. '------------...
by Dinosaur
Dec 16, 2008 10:11
Forum: Community Discussion
Topic: FreeBASIC Frozen
Replies: 61
Views: 14958

Hi all Normally I dont include myself in the debate over what the direction of FB should be. It invariably results in "When are you going to help?", and as I cant , I butt out. Also there have been these kind of posts almost every 2nd week. BUT, I use FB for work and am absolutely thrilled...
by Dinosaur
Dec 10, 2008 12:09
Forum: General
Topic: With ....End With
Replies: 23
Views: 3150

Hi all rolliebollocks, I wasnt offended by your statements, It is just that so many guys are here for the games, that people tend to forget that there are machines in the real world that produce everything you consume, and these machines are ofton controlled by pc's. When it comes down to it, we are...