| |
|
|
- 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 |
|
|
| |
|
|
| |
|
- 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 X3Intel 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.... |
|
|
| |
|
|
|
| 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 ?? |
|
|
| |
|
|
|
RudiB. |
this to XProfan-Help, says here but what other........ I faith almost You want me this year yet on the poor take, or ?? |
|
|
| |
|
|
|
| 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] |
|
|
| |
|
|
|
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] |
|
|
| |
|
|
|
RudiB. | I fasse it Yes not........lying I because all The years so moreover?? |
|
|
| |
|
|
|
| These question becomes finally Perhaps only through you answers go can. |
|
|
| |
|
|
|
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 X3Intel 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. |
|
|
| |
|
|
|
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. |
|
|
| |
|
|
|
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 X3System: Windows 8/10, XProfan X4 Programmieren, das spannendste Detektivspiel der Welt. | 12/31/15 ▲ |
|
|
|