Re: SELECT of records in range

2020-08-02 Thread Marco Manyevere
Hi, As far as I can see, the entire table will always be scanned in this case. This is one situation in which a prior analysis of the range arguments may be helpful. Assuming that you are doing this inside a subroutine, it may be worthwhile to check the difference between start and end dates (in

Re: Getting the jBase DP (data pointer) of the current session when using pure C

2020-03-04 Thread Marco Manyevere
Hi, On some earlier release of jBase 5, I once had a need to "divert" a jBC subroutine call to go via my own jBC subroutine with the same name that then called the original (for which I didn't have source). I remember creating a C function to achieve that. The C function was declared like below.

Re: variable++ / ++variable behavior in jbase 3 / jbase 5

2018-01-26 Thread Marco Manyevere
Notice that on lines 15 and 19 the CRT is just one expression whereas before there are semicolons to CRT the K by itself. There is a similar question on stackexchange if it’s defined behavior to use the same variable in a function call like foo(k, bar[k++]) On Fri, 26 Jan 2018 at 18:01, Kevin

Re: error message: rtld: 0712-001 Symbol STORE_BBS was referenced. help me!!!

2012-06-21 Thread Marco Manyevere
Hi, Is because you don't #include jsystem.h in Simple.c. Having made that correction you may need to pay attention to what the program is actually trying to do because I think after that correction it probably won't compile or run correctly. I always try and keep the C code from mixing with

Re: How to divert a subroutine call?

2010-07-19 Thread Marco Manyevere
it is) then have the C command executed. The program would run and breakwhen $s is your source code, then you can type V and you are done. Jim *From:* jbase@googlegroups.com [mailto:jb...@googlegroups.com] *On Behalf Of *Marco Manyevere *Sent:* Monday, July 12, 2010 2:51 PM *To:* jbase

Re: How to divert a subroutine call?

2010-07-12 Thread Marco Manyevere
] *On Behalf Of *Marco Manyevere *Sent:* Friday, July 09, 2010 4:32 PM *To:* jbase@googlegroups.com *Subject:* Re: How to divert a subroutine call? What is Modal step? How do I debug a program when I dont have the source code and I dont know the line numbers or what the variables inside

Re: How to divert a subroutine call?

2010-07-12 Thread Marco Manyevere
that subroutine is entered. It could not be much simpler. Jim *From:* jbase@googlegroups.com [mailto:jb...@googlegroups.com] *On Behalf Of *Marco Manyevere *Sent:* Monday, July 12, 2010 10:52 AM *To:* jbase@googlegroups.com *Subject:* Re: How to divert a subroutine call? I already read

Re: How to divert a subroutine call?

2010-07-12 Thread Marco Manyevere
. Or just debug it in the foreground (it should not change the program). If you are trying to hack a suppliers subroutine though, it probably isn’t a good idea to do that. Jim *From:* jbase@googlegroups.com [mailto:jb...@googlegroups.com] *On Behalf Of *Marco Manyevere *Sent:* Monday, July

Re: How to divert a subroutine call?

2010-07-10 Thread Marco Manyevere
() Jim *From:* jbase@googlegroups.com [mailto:jb...@googlegroups.com] *On Behalf Of *Marco Manyevere *Sent:* Friday, July 09, 2010 9:01 AM *To:* jbase@googlegroups.com *Subject:* How to divert a subroutine call? I frequently come accross situations where I need to know the parameters

Does DIM ARRAY(SIZE) really have to have constant SIZE?

2010-07-09 Thread Marco Manyevere
Hello, The jBASE BASIC reference manual states: DIM{ENSION} variable(number{, number... }){, variable(number {,number...}) ...} * SYNTAX ELEMENTS * The *variable *may be any valid variable name neither declared nor previously used. The numbers define the size of each dimension and must be

Re: Does DIM ARRAY(SIZE) really have to have constant SIZE?

2010-07-09 Thread Marco Manyevere
no different than 'normal' dynamic arrays. If you want to turn this off then set 'resize_array = false' in your 'Config_EMULATE' file under the appropriate emulation section. But be aware that making this change might break something. Dan On Fri, Jul 9, 2010 at 5:53 AM, Marco Manyevere

Re: jBase License Server Error

2010-07-06 Thread Marco Manyevere
If your jvm was updated you may have to increase the wrapper.java.initmemory in jbasehome\conf\jlicserver.properties (and maybe jslimserver.properties as well). I had a similar issue after a java automatic update. I increased mine from 3 to 16 MB. Also check the log files in jbasehome\logs, they

Re: READSEQ and CR/LF on Unix

2010-03-29 Thread Marco Manyevere
Thanks I already came across this document but didnt see which option would help me achieve what I want. I was looking more for an environmental variable that would affect the behaviour of _all_ the existing programs without having to do an IOCTL after every OPENSEQ in every subroutine. If there