Search found 87 matches

by luowy
Tue Feb 14, 2023 7:50 am
Forum: Bug
Topic: HostDialog.WaitDialogClose Issue
Replies: 0
Views: 15391

HostDialog.WaitDialogClose Issue

There is something wrong with this function(Win10). 1,ctrl+o open file broswer 2, on file type, selelct "All Files(*.*)" 3, select a txt file(any one) and open the converter dialog window, 4, select "UTF8 Text" converter the BB will hang! the patch is: PROCEDURE WaitDialogClose; ...
by luowy
Sat Mar 19, 2022 8:32 am
Forum: Common questions
Topic: ASH and LONGINT
Replies: 5
Views: 6625

Re: ASH and LONGINT

Code: Select all

m := 70; x := 1.0 * ASH (1L, m)
Is this ASH() result legal? it seem that we should coincide with other language(C),
Otherwise it is difficult to port other languages to or from oberon!
So better give up my fixup
by luowy
Wed Mar 16, 2022 8:50 pm
Forum: Common questions
Topic: ASH and LONGINT
Replies: 5
Views: 6625

Re: ASH and LONGINT

the result of ASH(1L, 70) is 1.0*2^70, which is larger than MAX(LONGINT), an overflow exception occurred when converting a floating point number to an integer; please note: 1,the BB compiler use FPU to compute ASH(longint,shift), the result is float in ST(0) ; it had to convert to integer when the f...
by luowy
Wed Mar 16, 2022 8:10 am
Forum: Common questions
Topic: ASH and LONGINT
Replies: 5
Views: 6625

Re: ASH and LONGINT

a fixup, DevCPB.CheckAssign StdCoder.Decode ..,, ..oN....3QwdONl9RhOO9vRbf9b8R7fJHPNGomCrlAyIhgs,CbKBhZ xi2,CoruKu4qouqm8rtuGfa4.hOO9vRb1Y66wb8RTfQ9vQRtIdvPZHWKqtCa.E.U5U,o.6.5Qw dONlnayKmKKqCLLCJuGqayKm6F9vQ5nsH3.bnayKmKa2,Cor.kay4.qorGqmQCU2,CJuyKtQC9 8P9PP7ONbXmb.2.Iu1k5EZD.,6.,.z586.QC18RdfQHfMf...
by luowy
Fri Nov 26, 2021 4:53 am
Forum: Bug
Topic: DevCompiler.CompileSubs need cleanup
Replies: 3
Views: 5350

Re: DevCompiler.CompileSubs need cleanup

How to test the effect of this patch: before the patch 1, open a document, and close it 2. delete its files in the file browser of the OS, the delete operation can be completed 3, restore the file from recycler,reopen it's document in BB 4, copy a selection text using "ctrl+c", and close i...
by luowy
Wed Nov 24, 2021 9:58 am
Forum: Bug
Topic: DevCompiler.CompileSubs need cleanup
Replies: 3
Views: 5350

Re: DevCompiler.CompileSubs need cleanup

(1) A similar problem: When I edit a document (file) inside BlackBox, save it and close the edited window. The document (file) is still allocated by BlackBox and can't be deleted before I leaving BlackBox. (2) Another problem is: I have open a file in BlackBox twice (the same file open first intera...
by luowy
Fri Nov 19, 2021 8:23 am
Forum: Bug
Topic: DevCompiler.CompileSubs need cleanup
Replies: 3
Views: 5350

DevCompiler.CompileSubs need cleanup

This procedure does not clean up resources , so the last module file will be opening until next compile action; it's easy to check this issue: 1,create a sub with only single src module; Test/Mod/Clean.odc, and close it; 2,do the command "^Q DevCompiler.CompileSubs Test ", 3,delete the mod...
by luowy
Fri Oct 29, 2021 1:14 am
Forum: BlackBox Framework
Topic: HostPorts.Input fixup
Replies: 4
Views: 5352

Re: HostPorts.Input fixup

They are all workable,the last one is the best one, i think; the first one(community) is emergency patch, to solve the problems caused by win10 update, The second and third (center board) are gradually improved: 1, the "idle" varible introduced to avoid sleeping after a Services.Action 2. ...
by luowy
Tue Oct 26, 2021 5:03 am
Forum: BlackBox Framework
Topic: DemoUart does not compile under BlackBox 1.7.2007
Replies: 1
Views: 3210

Re: DemoUart does not compile under BlackBox 1.7.2007

n DemoUart we see: CommV24.SendChars (passConn, SHORT (msg), 0, LEN (msg$)); ... which does not compile, of course. use SYSTEM.VAL to cast! if the msg is a char string, you have to convert it to a shorchar string; The test module may be very verbose, but it covers all forms of msg; MODULE TestV24; ...
by luowy
Sun Oct 24, 2021 3:18 am
Forum: Common questions
Topic: How can I get the name of the missing font?
Replies: 2
Views: 4054

Re: How can I get the name of the missing font?

refer to HostDialog.TypefaceDialog, you can get a funtion PROCEDURE FormalTypeface*; VAR p: Properties.StdProp; BEGIN Properties.CollectStdProp(p); IF Properties.typeface IN p.known THEN Log.String(p.typeface);Log.Ln; END END FormalTypeface; and a test menu "Formal Typeface" "" &...