English
Forum

Funny Behavior in the Adding up of flags...

 
I have me straight 5 hours läng on the still right einfachen API CreateFileMapping The teeth ausgebissen - To I the following discover have:
CompileMarkSeparation
PRINT ($40000000+$80000000) Das ist der richtige Wert für die API...
Print ($80000000 | $40000000) Den Wert will die API nicht...
PRINT ""
PRINT 4*16^7
PRINT $40000000
PRINT ""
PRINT 8*16^7
PRINT $80000000
PRINT ""
PRINT 2*$40000000
PRINT $80000000
Wa
t

what runs there schief? Profanbug? have Profan 7.5...
 
04/01/05  
 




4 kB
Hochgeladen:04/01/05
Downloadcounter326
Download
 
04/01/05  
 



interestingly, has means nothing with my older Profanversion To do. a Großteil drer values can I me explain, not but whom Difference between the first and the second worth. The following is too yet interestingly:
CompileMarkSeparation
Print ($80000000 | $40000000) Den Wert will die API nicht...
Print @or($80000000,$40000000) Das wäre auch richtig...
Waitinputre>

i think time, the can for each, the with the windows-API operates, a large entrapment go!

[...] 
 
04/01/05  
 





i'd say the cries for Ner
CompileMarkSeparation
Def ApiConformLong(1) val(translate$(substr$(str$(@&(1)),1,"."),"-",""))
>

 
04/01/05  
 



mistake!
The negatives worth is the korrekte worth for APIs.
APIs with | To add lead under Umständen To integrally drastischen Fehlern with the addition of Flag!!! too @or supply whom korrekten worth, not but the allgemeinübliche |, the really Error through Doppeltaddition avoid ought to.

the scream sooner (think I) to one Profan Bugfix!!!
 
04/01/05  
 




Frank
Abbing
Hi,

one eindeutiger Profanbug. now knows so did i, Why my Fehlersuche to some weeks ditto to a Odysee watts... have you got Roland already angemailt?
 
04/01/05  
 



Hello Frank...

I have since the interne Profan Typenumwandlung in suspicion. I wanted to first time review, whether the Bug in neueren versions not already fixed is. in the Profan Forum have The story ditto gemailt - Roland angeschrieben have I not yet. would you the take if it not reacted?
 
04/01/05  
 




Frank
Abbing
Hi,

your Posting is well extinct. Habs again on passender place inserted.
 
04/02/05  
 



best Thanks. having strain the same to and I yet a set dazugeschrieben.
 
04/02/05  
 




RGH
Hi,

the Completed: the Operator | (OR) with ? Happen? have I screen and The next Profan-Version resolved!
it exit only on, if the Result whom Longint-area to supra beyond would, means larger as 7FFF FFFF is. (LongInt goes of -8000 0000 To +7FFF FFFF.) then does it vorderste bit (the with the rendition the Wertes with PRINT as negative omen gewertet becomes) lost.

As I said: in the next XProfan 9 Subscriptionslieferung becomes it correctly functions!

Greeting
Roland
 
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
04/02/05  
 



Hello Roland...

best Thanks.
there some APIs, u.a. CreateFile, with such large (negativen) ? Happen? works, would the too otherwise a angry Fehlerquelle.
 
04/02/05  
 



Ah lol now Have too I understood - what It's all right.
 
04/02/05  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

7.016 Views

Untitledvor 0 min.

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie