Search found 121 matches

by Zinn
Mon May 03, 2021 3:06 pm
Forum: BlackBox Framework
Topic: Current directory and Dialog.RunExternal
Replies: 8
Views: 16144

Re: Current directory and Dialog.RunExternal

Dear Robert BlackBox knows two directories: First the installation directory and second the working directory. At the normal start of Blackbox the working directory is equal to the installation directory. You can start BlackBox with the run parameter /use=any-other-directory then Blackbox started in...
by Zinn
Tue Apr 27, 2021 4:31 pm
Forum: BlackBox Cross-Platform
Topic: Is BlackBox 1.8 incompatible to BlackBox 1.7?
Replies: 28
Views: 39374

Re: Is BlackBox 1.8 incompatible to BlackBox 1.7?

There will be several Host folders for target OSes like HostWin32GUI HostWin32Console, HostLinuxGUI, HostLinuxConsole, HostFreeBSDGUI etc. Does somewhere exist an interface definition about HostWin32GUI and HostWin32Console? Is the interface definition of HostLinuxGUI the same as the interface defi...
by Zinn
Thu Apr 22, 2021 6:08 am
Forum: BlackBox Cross-Platform
Topic: Is BlackBox 1.8 incompatible to BlackBox 1.7?
Replies: 28
Views: 39374

Re: Is BlackBox 1.8 incompatible to BlackBox 1.7?

Of course you can improve this solution. Module Strings depends on module Unicode and module Unicode depends on module Kernel. You can create your own module e.g. called UnicodeLibrary, where you implement the Unicode translation staff and call them from module Unicode. The first solution is to move...
by Zinn
Wed Apr 21, 2021 6:02 pm
Forum: BlackBox Cross-Platform
Topic: Is BlackBox 1.8 incompatible to BlackBox 1.7?
Replies: 28
Views: 39374

Re: Is BlackBox 1.8 incompatible to BlackBox 1.7?

After I study the discussion about removing the Unicode part from module Strings I create the following solution
by Zinn
Sun Apr 18, 2021 9:09 am
Forum: BlackBox Cross-Platform
Topic: Is BlackBox 1.8 incompatible to BlackBox 1.7?
Replies: 28
Views: 39374

Re: Is BlackBox 1.8 incompatible to BlackBox 1.7?

OK, I understand there are several problems: (1) You would like to rollback the interface of the subsystem Strings to the version of BlackBox 1.6 and add the rest of the interface to the new subsystem called Unicode and Utf. I agree with this separation. What about the procedure PROCEDURE Lower (ch:...
by Zinn
Fri Apr 16, 2021 8:26 am
Forum: BlackBox Cross-Platform
Topic: Is BlackBox 1.8 incompatible to BlackBox 1.7?
Replies: 28
Views: 39374

Is BlackBox 1.8 incompatible to BlackBox 1.7?

Is BlackBox version 1.8-a1.062 the basic of the linux version of BlackBox? Do you need subsystem Cons for integration? Who is using it? Why moved some modules from subsystem Strings to subsystem Unicode and subsystem Utf8? What is the reason to cut the link to Kernel.Hook in several modules? I know ...
by Zinn
Wed Mar 03, 2021 6:34 pm
Forum: BlackBox Framework
Topic: Current directory and Dialog.RunExternal
Replies: 8
Views: 16144

Re: Current directory and Dialog.RunExternal

Hello Adimetrius, here there are a procedure which gets the working directory of BlackBox: PROCEDURE GetWorkingPath* (VAR workingDir: ARRAY OF CHAR); VAR loc: Files.Locator; BEGIN (* BlackBox Working Directory *) loc := Files.dir.This(""); workingDir := loc(HostFiles.Locator).path + '/'; E...
by Zinn
Thu Oct 29, 2020 6:12 am
Forum: Common questions
Topic: How to open Nemo from BlackBox?
Replies: 2
Views: 7728

Re: How to open Nemo from BlackBox?

Dear Ivan,
thank you, thank you very much. It helps me a lot.
- Helmut
by Zinn
Wed Oct 28, 2020 4:26 pm
Forum: Common questions
Topic: How to open Nemo from BlackBox?
Replies: 2
Views: 7728

How to open Nemo from BlackBox?

In Windows the command (!)"Dialog.OpenExternal('Z:/home/helmut/')" opens the Windows Explorer and show the file of the directory "Z:/home/helmut/". In Linux under Wine the command (!)"Dialog.OpenExternal('Z:/home/helmut/')" opens the Explorer emulation in Wine and not t...
by Zinn
Mon Aug 24, 2020 8:29 am
Forum: Bug
Topic: MAX with two arguments
Replies: 10
Views: 15845

Re: MAX with two arguments

Sorry Ivan, that is not a mistake. In the Language Report capitel 10.3 Predeclared Procedures there define MAX(T) T = basic type T maximum value of type T T = SET INTEGER maximum element of a set MAX(x, y) <= INTEGER INTEGER the larger value of x and y integer type LONGINT <= SHORTREAL SHORTREAL num...