Forum Replies Created
-
AuthorPosts
-
amckinlay
KeymasterI’m not sure about jsuneido on 32 bit. In theory if you have a 32bit JVM then it should work but I haven’t tried it. Of course, 32 bit will limit the size of the database.
To run it you need to specify -s for the server and -c for the client:
java -jar jsuneido.jar -s
suneido -c
You can specify a script for the server e.g. to use additional libraries:
java -jar jsuneido.jar -s mystartup.txt
See also: Users Manual > Getting Started > Running Client Server
amckinlay
KeymasterStrange. Before you attempt to fix it, make sure you have a backup.
One possible cause is that your database is corrupted.
From a command prompt, run: suneido -checkOne way to fix it would be to unzip the original files to a different directory. In that directory, from the command line, run: suneido -dump persistent
Copy or move the resulting persistent.su to your original director and in that directory, from the command line, run: suneido -load persistent
Note: This will wipe out your persistent set – open windows, contents of workspace, etc. but all of your other tables, including libraries should be there.
amckinlay
KeymasterHi Ajith,
You need to specify
closeButton?:
For example:
ToolDialog(0, #(Editor), closeButton?:)
It defaults to false because most of our dialogs have other buttons like OK/Cancel in which case it is unclear whether the ‘X’ close button acts like OK or like Cancel.
Dialog now ignores style: and exStyle: because we found it caused too much inconsistency in our applications because people would specify different options. And only certain combinations of style and exStyle work properly.
Best wishes,
Andrewamckinlay
KeymasterIt should be updated now. Thanks Jean-Luc.
amckinlay
KeymasterI don’t have Excel so I can’t test it myself. The example was contributed by someone else.
I looked through the code changes, but it’s mostly minor stuff, I didn’t see anything that I thought would break this.
I noticed that the examples I found on-line applied Cells to a worksheet which is retrieved from a workbook. But that wouldn’t explain why the old Suneido works.
Sorry, I’m not sure what the problem is.
amckinlay
KeymasterWe don’t do anything with Excel, although we do stuff with Word.
I didn’t think this area had changed much. I’ll take a look.
Thanks for the bug report.
amckinlay
KeymasterOur applications are large but I’ll see if I can come up with a small example.
amckinlay
KeymasterYou can run jSuneido (the Java version) on Linux, but it does not have any GUI. The user interface is only available with cSuneido on Windows.
You can run jSuneido as server on Linux and connect to it from cSuneido clients running on Windows.
Or if you are using jSuneido as a web server, that will run fine on Linux.
People have tried running cSuneido on Linux using Wine but I think there were issues with this. I don’t know if anyone has tried lately.
amckinlay
KeymasterYou can use .Has?
if digit.Has?(code)
April 11, 2019 at 10:01 am in reply to: This stdlib requires an exe/jar built after 01/23/2019 #1458amckinlay
KeymasterSorry, commercial applications are not necessarily compatible with the open source version.
I would suggest that they export the data from their system to give to you. They can even set up scheduled exports if this is a regular thing. Customer support for their application can help them with that.
amckinlay
KeymasterHi Hans,
You could build from source, but the latest source isn’t always stable.
The simplest solution is to use the libraries that come with the version of the exe/jar you have.
How did you get a stdlib that new?
Andrew
amckinlay
KeymasterSHORT is part of the DLL interface – probably not what you want.
You can use Number to convert strings to numbers.
e.g. Number(“5”) + 2 => 7
Similarly, you can use String to convert the other way.
e.g. String(5) => “5”
amckinlay
KeymasterThe WorkSpace is meant for temporary code. To save your code, put it in a library by opening a Library View, creating a new library, creating a record in the library, and putting your code in there. It will then be available as the name you give it in the library.
amckinlay
KeymasterThis was fixed in 2011
amckinlay
KeymasterHi. Yes there are still people using Suneido. I guess they don’t have many questions 🙂
-
AuthorPosts