English
Regulars table & Café

Dim, a couple ask...

 
- Page 1 -



Jörg
Sellmeyer
the here functions. SizeOf determined too whom right worth. with String$(B#,0) becomes however nevertheless always the whole String outputted:
CompileMarkSeparation
Declare B#
Dim B#,11
String B#,0 = "0123456789"
Print Char$(B#,0,SizeOf(B#) - 1)
Dim B#,6
Print Char$(B#,0,SizeOf(B#) - 1)
WaitInp

Profanhilfe
The commands can ex XProfan 10 number of times on a Memory-Variable apply and be changes dynamic The Size the Speicherbereiches.
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
08/30/08  
 



 
- Page 5 -



Frank
Abbing
No!
 
09/02/08  
 




Stefan
Landsberg
interestingly what your so everything over skype austauscht
 
09/02/08  
 




Jörg
Sellmeyer
Oha, I mean here must I soon again a Thread splitten. for me (as still Threadstarter ) has the trouble in the Grunde aufgeklärt, I now white, that not Dim the Nullbyte end setting, separate the commands String.
Related to the Delete find so did i thoroughly diskussionswürdig, particularly, there the question position, what should with ReDim occur. Also remaining immernoch The question, whether it meaningfully is, that one on memory grab can, the not Program reserved is. though would find I as a Geschwindigkeitsverlust bedenklicher, as whom employment of something Gehirnschmalz by the Programmierers at using the function.
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
09/02/08  
 




Michael
Wodrich
alike whether there somewhere one zusätzliches Nullbyte at Redimensionieren written becomes:

Char and String must a Bereichsprüfung distinguished!
there these for tidy Programming always needed becomes should the Programmer the otherwise jedesmal with program.

remind we still at times M$, also thought, a Bereichsprüfung be from Geschwindigkeitsgründen not necessary. On the follow this Vorgehens suffering windows still always.

Best wishes
Michael Wodrich

P.s.:
there SizeOf() too to one new dimensionieren whom korrekten worth supply, ought to not heavy his String/Char on the Bereichsgrenze auszubremsen.
 
Programmieren, das spannendste Detektivspiel der Welt.
09/02/08  
 





there SizeOf() too to one new dimensionieren whom korrekten worth supply, ought to not heavy his String/Char on the Bereichsgrenze auszubremsen.


The Bereichsgrenzen of/ one Memory-Variable should one not eingrenzen through further ausbremsen with String-Überprüfung etc, this is a suitor area for User. here would like I mean freiheiten and have yourself of first byte until last byte to determine. If I memory so reserviere and it überschreite must I so calculate the the program abstürtz.
And if windows not everything on "0" staid has, must I for care.

mfg
peter
 
09/03/08  
 




RGH
Michael Wodrich
there SizeOf() too to one new dimensionieren whom korrekten worth supply, ought to not heavy his String/Char on the Bereichsgrenze auszubremsen.


clear is the without Problems possible. The question would here, whether it too of all so desired would. the shining I do not so. (if i remember rightly, was former too time so, watts but because of of Userwünschen removes.)

supra there were The question to the manner the memory-reservation. I use in Delphi following row:

If Z <> NIL Then ReAllocMem(Z,ParLng) Else Z := AllocMem(ParLng);

Hierbei is Z the Pointer on the memory and ParLng The angeforderte Size.

to that "Nullen" the Bereiches to the first Dim can Clear use.

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
09/08/08  
 




Frank
Abbing
which API hide itself behind whom Delphi-functions?
 
09/08/08  
 



[...] 
 
09/08/08  
 




Frank
Abbing
Nö. Rolands AllocMem has only one parameter. Zähl simply time to...
 
09/08/08  
 



Ähm what Have I there abkopiert? lol!

Well here standing too what: [...] 

z.B. standing there heaph.inc and the getmem using becomes: "Allocate new memory on the heap".

hähphähphähp...
 
09/08/08  
 




Frank
Abbing
this is no API, iF. becomes a Delphi-function his. therefore becomes Roland me too sure say, that it not knows, which API itself behind it hide *prophezei*...
 
09/08/08  
 



I mean this is Heap-Zeugs...
 
09/08/08  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

27.796 Views

Untitledvor 0 min.
Michaeal03/21/12

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