Loading ...
Sorry, an error occurred while loading the content.

Messages List

39340

Re: Ok, now another odd behavior...

Opppsss... my bad. I see what you mean now, The compiler does NOT recognize the array within a Type structure. I did a quick search online to see if maybe
burkleyd
Dec 31, 2017
#39340
 
39339

Re: Ok, now another odd behavior...

Well I still seem to get an error on UBound or LBound! I think the simple solution is to just replace with SUBs rather than FUNCTIONs when using multiple
johnk20042001
Dec 31, 2017
#39339
 
39338

Re: Ok, now another odd behavior...

I was able to compile and run this,,, 'NOTE the "space" between "x" and "(" 'NOTE the "space" between "y" and "(" Type Position_UDT x (0 to 10) As Long y (0 to
burkleyd
Dec 31, 2017
#39338
 
39337

Re: Ok, now another odd behavior...

THanks for checking this. I think it is important to always use a SUB when passing arrays. That is not a problem since you can always have a return value from
johnk20042001
Dec 31, 2017
#39337
 
39336

Re: Ok, now another odd behavior...

Ok... here's what I've discovered (not a solution, but a cause) The parameter(s) of the function HAVE TO MATCH the array name. Dim A(1 TO 800, 1 TO 300) As
burkleyd
Dec 30, 2017
#39336
 
39335

Re: Ok, now another odd behavior...

This is a perplexing problem. AND... it make it even worse... Change the order in which the arrays are Dimmed. for example... Dim C(2, 20 TO 28) As Double Dim
burkleyd
Dec 30, 2017
#39335
 
39334

Ok, now another odd behavior...

Thanks, I should remember RQ doesn't do forward declarations! Now here is another "Gotcha" Ubound / LBound are stacked incorrectly if arrays are passed to a
johnk20042001
Dec 30, 2017
#39334
 
39333

Re: Weird bug with global variable and GUI

I don't know if I'd call it a bug. The declaration is not executed until "after" a modal result is returned. Kinda like... Yes, No, Cancel?
burkleyd
Dec 30, 2017
#39333
 
39332

Re: Weird bug with global variable and GUI

I have seen it before, but never bothered to mention it (early RapidDBG code) Move the 'form.showmodal' after the global variables and problem disappears too!
d_homans
Dec 29, 2017
#39332
 
39331

Weird bug with global variable and GUI

THis code gives a really bad error - the global variables are corrupt if they follow the GUI code, but are OK if declared BEFORE the GUI code. Check it out..
johnk20042001
Dec 29, 2017
#39331
 
39330

Minor error in Rapidq2.inc file fixed

The last version of rapidq2.inc (1.5) had an error if TWO or more $INCLUDE rapidq2.inc statements were in your code. I added two sections of $IFDEF to get rids
johnk20042001
Dec 2, 2017
#39330
 
39329

Re: FreeQ IDE v1.17

If you just downloaded the source code, I had fixed it but I have not re-compiled it. Waiting for more suggestions before the next update...
johnk20042001
Dec 2, 2017
#39329
 
39328

Re: FreeQ IDE v1.17

That is weird - format$ is in _Res\Keywords2.txt but is not in keywords 2 options. I loaded the _Rex\Keyword2.txt file like you suggested and now FreeQ is
rdhays82604
Nov 30, 2017
#39328
 
39327

Re: FreeQ IDE v1.17

The best way to fix missing keywords is to recompile FreeQ, which I can do, but you can also do it from the source code using your existing FreeQ IDE (see the
johnk20042001
Nov 29, 2017
#39327
 
39326

Re: FreeQ IDE v1.17

John Where does FreeQ load it's lists of keywords from? I have noticed that Format$ is not in any of the 3 lists in the configuration window nor is it in the
rdhays82604
Nov 29, 2017
#39326
 
View First Topic Go to View Last Topic