Welcome to jBASE's new documentation site! Many answers to your questions can be found by searching the Knowledgebase or viewing the jBASE Documentation. We also have a Google Group for peer discussion about jBASE. If you are unable to find the information you are looking for, jBASE Support will be glad to assist in resolving your technical problems. Enjoy and please provide comments and feedback .

How can we help you?



Compiler parsing issue a function definition [DEFFUN] has the same name as a DIM() or COMMON array

Previous Release Behavior

The following code should not be allowed to compile, but did:

COMMON xyz(100)
DEFFUN xyz()
x = xyz()       ;* intended function call

Current Release Behavior

Compiling the above code will produce an error similar to:

jpp2: Error Variable xyz at line 1 in file test.b is both a function and a dimensioned array.

Error occurred connecting jbc Pre-Processor, jpp: No error
jbccom -f -d -a. BASIC_2.b failed , command returned a code of 2
jcompile: Returned an error code of 8
 ** Unable to compile source aaa.b **
Return code = BASIC_ERROR

Was this article helpful?