LWGShane Well-Known Member Licensed User Longtime User Dec 7, 2018 #1 I'm working on creating a cross platform version InputMap and when testing it (to see if it displays the map properly), B4J says that "InsertMap (YourMap As Map)" expects an Array which is wrong. This only occurs when the module is compiled as a library and it doesn't matter which JDK I use to compile it. (When used as a module it works perfectly.) Project is attached. Code: B4J Version: 6.80 Parsing code. (0.01s) Building folders structure. (0.00s) Compiling code. Error Error compiling program. Error description: Array expected. Error occurred on line: 31 MID.InsertMap(Options) Word: ( Project is attached. Attachments MapInputDialog.zip MapInputDialog.zip 4.2 KB · Views: 331
I'm working on creating a cross platform version InputMap and when testing it (to see if it displays the map properly), B4J says that "InsertMap (YourMap As Map)" expects an Array which is wrong. This only occurs when the module is compiled as a library and it doesn't matter which JDK I use to compile it. (When used as a module it works perfectly.) Project is attached. Code: B4J Version: 6.80 Parsing code. (0.01s) Building folders structure. (0.00s) Compiling code. Error Error compiling program. Error description: Array expected. Error occurred on line: 31 MID.InsertMap(Options) Word: ( Project is attached.
stevel05 Expert Licensed User Longtime User Dec 7, 2018 #2 It looks like you have compiled to a library and left the module in the project, you only need one or the other. Remove (or rename) the module and try it. Upvote 0
It looks like you have compiled to a library and left the module in the project, you only need one or the other. Remove (or rename) the module and try it.
LWGShane Well-Known Member Licensed User Longtime User Dec 7, 2018 #3 stevel05 said: It looks like you have compiled to a library and left the module in the project, you only need one or the other. Remove (or rename) the module and try it. Click to expand... That's interesting - you learn something new everyday. Update: It works I've removed the need to use Wait For since everything is local and I'll be releasing the module by this weekend (12/8 to 12/9). Last edited: Dec 7, 2018 Upvote 0
stevel05 said: It looks like you have compiled to a library and left the module in the project, you only need one or the other. Remove (or rename) the module and try it. Click to expand... That's interesting - you learn something new everyday. Update: It works I've removed the need to use Wait For since everything is local and I'll be releasing the module by this weekend (12/8 to 12/9).