English
Forum

List$ in X4

 
- Page 1 -



Walter
The Interpreter of XProfan X4 crashes with "Zugriffsverletzung" ex:

cls
list$ 0 = "Anfang"
print list$(0)
waitinput

in the exe functions it.
 
06/28/18  
 



« this Posting watts as Solution marked. »


H.Brill
Wundert me, that it in the exe functions.
the might usually none funtkionieren.

here missing eindeutig one
DIM$ X

where X for Number of Entries standing. means
Dim$ 5' 5 Entries
cls
list$ 0 = "Anfang"
print list$(0)
waitinput

then functions the too. These lists having NICHTS with
the always initialisierten Listboxliste To do. If it too antiquated
is, ought to Roland Perhaps still a Info with


List!(n) - List$(n) - List%(n) - List&(n)


for Dim! x Dim$ x etc. in the Help give.

lists can Yes not enough having.
 
Benutze XPROFAN X3 + FREEPROFAN
Wir sind die XProfaner.
Sie werden von uns assimiliert.
Widerstand ist zwecklos!
Wir werden alle ihre Funktionen und Algorithmen den unseren hinzufügen.

Was die Borg können, können wir schon lange.
06/28/18  
 




Walter
Thank you!
 
06/28/18  
 




Jörg
Sellmeyer
can it his, that You The Runtime not yet correctly. registered have? Füg time one Print $ProfVer into code one.
 
XProfan X4
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
06/28/18  
 




Walter
yields 14.0-32
 
06/29/18  
 




H.Brill
what too yet erwähnenswert would or. what not everyone
white :
The dynamic Arrays, The behind whom lists with DIM stick,
can with _SYSLIST$[], _SYSLIST%[], _SYSLIST&[] and
_SYSLIST![] too achieve and so too into Move-functions
use. too The normalen Arrayfunktionen, How SetSize() and
SizeOf() and CLEAR can uses go.

the heard then too to the Rubrik SYSTEM-VARIABLES.
 
Benutze XPROFAN X3 + FREEPROFAN
Wir sind die XProfaner.
Sie werden von uns assimiliert.
Widerstand ist zwecklos!
Wir werden alle ihre Funktionen und Algorithmen den unseren hinzufügen.

Was die Borg können, können wir schon lange.
06/30/18  
 




RGH
These four überholten lists, The to introduction of Arrays in XProfan as an array-substitute created get, go in the doing to abolition same through these four dynamic Arrays simulate, so old Source code still function.

with new Programs there but utterly none reason, these middle-aged lists To using, there dynamic Arrays explicit vielseitiger are.

Greeting
Roland
 
XProfan X4
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
06/30/18  
 




Walter
is indeed one (ur)altes Program, that I only in another part ergänzte, on what it now in X4 suddenly not any more walk wished!
 
07/01/18  
 




H.Brill
RGH (30.06.2018)
These four überholten lists, The to introduction of Arrays in XProfan as an array-substitute created get, go in the doing to abolition same through these four dynamic Arrays simulate, so old Source code still function.

with new Programs there but utterly none reason, these middle-aged lists To using, there dynamic Arrays explicit vielseitiger are.

Greeting
Roland


a morsel of contradict You you but.
supra say You first thing, that these lists through
dynamic Arrays simulate go. in the cut offed under
say You as second, that one rather dynamic Arrays
because of the Vielseitigkeit take ought to.

What is now the Difference between whom four solid installed
dynamic Arrays and one self deklariertem dynamic
aray ?

means, i'd say :
The four solid Arrays would I to maintain and who wants
can tappt im dunkeln Yes using. me see it anyway so from, as
wären these four integrally normal Arrays, its Size one
one before with Dim$ etc. determine must. Wären it dynamic,
käme too no Laufzeitfehler and the Dim$ /%/&/! could
waived go.
 
Benutze XPROFAN X3 + FREEPROFAN
Wir sind die XProfaner.
Sie werden von uns assimiliert.
Widerstand ist zwecklos!
Wir werden alle ihre Funktionen und Algorithmen den unseren hinzufügen.

Was die Borg können, können wir schon lange.
07/01/18  
 




RGH
where is the Widerspruch?

The special dynamic Arrays go in the Interpreter first by the DIM$-, DIM%-, DIM&- or DIM!-commands created. therefore is the DIM-commands How with whom abgeschafften Originalen coercive necessary. so far ought to The Simulation already weg.

means DIM$ 20 created the dynamic aray _SYSList$[] and lead connect whom commands SETSIZE _SYSList$[], 20 from.
from LIST$ 15="Hugo" becomes in the further course the Program then: LET _SYSList$[15]="Hugo".
and from the function LIST$(20) becomes then The interne function _SYSList("$", 20), The the dynamic aray _SYSList$[] ausliest.

Greeting
Roland
 
XProfan X4
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
07/01/18  
 




H.Brill
I see, the knew I now not, To welchem Time
these special Arrays created go. would have been indeed
his can, that tappt im dunkeln at Start the Runtime or. Interpreter
already with a element initialized and be the DIM
simply one SetSize is.

then can indeed everything so let, what's it like.

PS:
the shine then over again Special Arrays To his.
You could still, very How in the Help dyn. Arrays,
at Start the Interpreters or. Runtime one simple
VAR _SYSLIST$[], _SYSLIST%[],
_SYSLIST&[], _SYSLIST![]

make and everything is initialized. One
List$ 15 = "Hugo"

would then the : _SYSList$[15]="Hugo"
and setting then the aray on 16 Entries, if yet no
present. goes still with whom normalen dyn. Arrays very so.
the DIM could then to Verkleinern the Arrays used
go or wegfallen, there it SetSize gives.

therefore would then too the Programmabsturz through one
vergessenes DIM slay.
is time only so a Überlegung.
 
Benutze XPROFAN X3 + FREEPROFAN
Wir sind die XProfaner.
Sie werden von uns assimiliert.
Widerstand ist zwecklos!
Wir werden alle ihre Funktionen und Algorithmen den unseren hinzufügen.

Was die Borg können, können wir schon lange.
07/01/18  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

10.456 Views

Untitledvor 0 min.
H.Brill09/08/24
Stringray01/05/22
RudiB.04/22/21
iF10/31/20
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