English
Forum

Strange behavior, Abstürze...

my Interpreter crashes me dauernd ex / Why only ??

 
- Page 1 -



RudiB.
Hi,

have one small trouble that I not solve can, or not understand.
my Interpreter crashes me with folgendem Source ex / depends itself on.....but Why because only. What do I do there wrong ??
has someone a idea and can me help ?

Download

 
XProfan 9
WinXP, SP2, AMD Phenom(tm) II X4 840 Processor

Xprofan X4
Rudolf Beske / München

Hardware: NB Intel I9 - 16GByte RAM
12/28/15  
 



 
- Page 2 -


« this Posting watts as Solution marked. »

- Page 3 -



RGH
Yes, and it watts of me objectively seinerzeit so eigebaut:

The Arrays are zero-basierend and the indicated at Dimensionieren gives the each latest element on. The concept Size on some to put Help is here objectively misleading.

background the story: Seinerzeit (to about 18 years with Profan² 6) watts Profan² yet gladly used, circa BASIC-programs to windows To portieren. into different BASIC-Dialekten there were The Arrays time zero-basierend and times with 1 beginnend. with of my Solution could both mutants simply übernommen go. who a not zero-based Source nutzte, circa about one Schachbrett to program coming with Declare area%[8,8] from, even if since the boxes with 0 as index unbenutzt stayed. who of a zero-basierendem BASIC coming, having too with Declare area%[7,7] no Problems.

Also likes too The Pascal-spelling, The with Arrayas always the (first and) latest element and not The Size angibt, my damalige decision affect having.

correctly. is, that The Help sometimes something misleading is, if I of Size write, because The eigentliche Size is by the 0-element Yes in eachone size one More.

Change can I on it to 18 years well nothing more (except on the Help-Text naturally) without To Kompatibilitätsproblemen with existing Source code To come. (imaginable would not more than one switch, around the Arrays from Programmierersicht 1-basierend To make, so with area%[8,8] then objectively one aray the Size 64 beginnend with area%[1,1] created becomes.)

Greeting
Roland

PS: end this year entwickle I already 25 years to profane. i'll old! ;)
 
XProfan X3
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
02/01/16  
 




RudiB.
Please lass me not on my mind doubt...
and probier time this Listing from....Please.
Download
And then say me the this aray only 4 boxes has....

1 kB
Hochgeladen:12/28/15
Downloadcounter142
Download
 
XProfan 9
WinXP, SP2, AMD Phenom(tm) II X4 840 Processor

Xprofan X4
Rudolf Beske / München

Hardware: NB Intel I9 - 16GByte RAM
12/28/15  
 



it has only 4 boxes.

windows and XProfan are right gnädig with "falschen" Speicherzugriffen.

correctly. are you nevertheless not and Abstürze then chance.

If you means not want, that your Program only random functions, then rather correctly. dimensionieren.

CConsiderate too, that You these Adressen now through your stetiges testing "trainiert" have and on other entourages immediate one crash follow could and/ or the program not fehlerfrei go through could.

look time whom Topictitle:


my Interpreter crashes me dauernd ex / Why only ??
 
12/28/15  
 




RudiB.


this to XProfan-Help, says here but what other........
I faith almost You want me this year yet on the poor take, or ??

58 kB
Hochgeladen:12/28/15
Downloadcounter135
Download
 
XProfan 9
WinXP, SP2, AMD Phenom(tm) II X4 840 Processor

Xprofan X4
Rudolf Beske / München

Hardware: NB Intel I9 - 16GByte RAM
12/28/15  
 



I mean the completely serious.



there standing "Angabe the Größe".

elsewhere in the Help contradict itself Roland:

Help
Declare Integer Spielfeld[7,7]
here becomes one zweidimensionales Integer-aray from 8 * 8 Elementen - about for a Schachspiel - created.


alike whether The Help moreover means Murx is or The function sizeof...
so is it correctly.:

declare a$[3,3] is a 2D-aray with 3 Lines per size = 9 Entries.

If you you on it hold and your Program crashes, then functions XProfan not correctly.. I faith but, that your Program thereafter not abstürzten becomes. The Help and SizeOf are not correctly..

It can his, that (the momentarily not abkömmliche [because abgängig]) Roland blanket a row More ans aray anfügt but hereon would I do not settle.

[OFFTOPIC]I konnt not resist - sorry (Jörg)[/OFFTOPIC]

7 kB
Hochgeladen:12/28/15
Downloadcounter68
Download
 
12/28/15  
 




Jörg
Sellmeyer
and David has right! its one Error, the though even in the actually Version yet present is.
even if it functions, ought to one such Error not "benutzen", after tappt im dunkeln recognized get.
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
12/28/15  
 



[OFFTOPIC]
@Jörg:available: thanks! the word had I well forever sinnverkehrt uses - habs now begriffen!
[/OFFTOPIC]
 
12/28/15  
 




RudiB.
I fasse it Yes not........lying I because all The years so moreover??
 
XProfan 9
WinXP, SP2, AMD Phenom(tm) II X4 840 Processor

Xprofan X4
Rudolf Beske / München

Hardware: NB Intel I9 - 16GByte RAM
12/28/15  
 



These question becomes finally Perhaps only through you answers go can.
 
12/28/15  
 




RGH
means: Declare Irgendwas$[2,2] created one zweidimenionales aray with 9 Elementen, since the count with 0 starting! means of 0,0 To 2,2!

Greeting
Roland

(z.Zt. in Boston, USA)
 
XProfan X3
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
12/30/15  
 



Do you have it so installed,

that one in XProfan one 4x4 aray by Declare a&[3,3] declared?

the power so far I know no Programming-Language so, if the index with 0 begins! sooner is it normally, The sizes anzugeben with the Arraydeklaration - not whom last index-worth.

Dim 4 declared neither 5 byte - however, if you it for XProfan abweichend resolved have then is correct The Helpfile moreover not and in the comparison To others Deklarationen (Structures, Dim) is these application not konsistent.

@Rudi: thereafter has Roland it apparently still so installed How You it understood have. or he's now self confusion come at Mitlesen from Boston. the white I do not.

Getestet FreeProfan and XProfan 11:

give both 1 from.
 
12/30/15  
 




Jörg
Sellmeyer
I can me dumpf remember, that the Schonmal Topic was and I too very irritiert has. In my eyes is it one klarer Error. has info and nullbasierende count should not vermischt go.
 
XProfan X3
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
12/30/15  
 




Michael
W.
Here Roland simply Basic and the others in a pot thrown.

Yes there's Languages, The with the count with zero begin and so itself there none vertut has Roland the nullte element with in that boat gotten.

and Yes, it was already more frequently subject the Discussion.

and too WhileLoop can a here already time foppen, because:

WhileLoop SizeOf(arr) --- durchläuft everything of index 1 beginnend and falls then the last element on The nose.

correctly. is here namely
WhileLoop 0, SizeOf(arr) - 1
 
XProfan X3
System: Windows 8/10, XProfan X4
Programmieren, das spannendste Detektivspiel der Welt.
12/31/15  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

34.262 Views

Untitledvor 0 min.
Member 361000509/28/22
H.Brill09/27/22
p.specht06/08/21
Jörg Sellmeyer05/14/18
More...

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