English
Forum

SizeOf Ungereimtheiten

 

Jörg
Sellmeyer
here a Note of David:

iF
Nachtrag: bow in the XProfan: print sizeOf(explode("12:34",":")) gives 4 from instead of 2. i'm clear and so it the does (sizeof on long), correctly. ists but not.

Nachtrag: print sizeOf(explode("",".")) gives (naturally then) too 4 from, instead of <b><u>NULL</u></b> (but with the the missing NULL with Explode wish Roland Yes so)
 [...] 

with SubStr$() functions (against of my Erwartung!) the. then ought to it with Explode auxch functions...
CompileMarkSeparation
Print SizeOf(SubStr$("Das ist ein Test",4," ")):WaitInput
>

[offtopic]Related to the to accept of MB u.s.w. find I at first time Yes yet jolly, but Perhaps could You, the turn off, if someone More as for may part 100 Posts posted has. Perhaps can You Yes even check, How often someone The code-Tags uses has, and it of it tributary make.

iF

Textblock Minimalbeispiel [...] entire reading.
Source with:
CompileMarkSeparation einrahmen or [...]  benefit.
your your Signatur contains XProfan-Version and Betriebssystem.


[/offtopic]
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
08/08/08  
 




RGH
everything chance! as Parameter of SizeOf() miß one Variablenmbezeichner stand. standing too so in the Help!

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




Jörg
Sellmeyer
then is the but one very cooler chance:
CompileMarkSeparation
Var S$ = "Das ist der Test eines merkwürdigen Phänomens"

WhileLoop Len(S$," ")

    Print SizeOf(SubStr$(S$,&Loop," "))

Wend

WaitI
a>
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
08/08/08  
 




RGH
Tja, there's even seltsame shut! ;)

objectively is it presently so, that in the entrapment one Stringausdruckes SizeOf() The length the Strings zurückgibt. SizeOf() for Strings To abuse, is completely superfluously, there it for Yes The function Len() gives! (saving still three letters Tipp-work. ;) )

but the standing so not in the Help and can in the next Version already completely differently his! (it would to that example in the welt of/ one more severity imaginable, To to check on, whether the Parameter of SizeOf() really one Variablenbezeichner is.

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



[offtopic]
@Jörg: I change the!
[/offtopic]
 
08/08/08  
 



[offtopic]
iF


[offtopic]
@Jörg: I change the!
[/offtopic]




on 50 Posts... Done.
[/offtopic]


the wirkliche life shows: there's no shut! One XProfan expects a 2 as spending with print sizeOf(explode("saubär","u")) too then, if print len("saubär","u") already a 2 returns or print 1+1. the lying simply on XProfan, and Roland hats (to that Happiness!) made up! If SizeOf not wise enough is, then must it then klüger made go, if it itself circa XProfan deals and z.B. not one logischen Widerspruch standing. If:
CompileMarkSeparation
declare a$[]
a$[]=explode("sebastian","a")
print sizeOf(a$[])re>
functions and 3 outputs, then becomes one C-Programmer not expect the too
CompileMarkSeparation
print sizeOf(explode("sebastian","a"))
>
a 3 outputs, but one XProfan.

self-evident are Rolands Explanations completely correctly, imho but not XProfan.

"technical-correctness" is beautiful, then but either so streng How possible or streng XProfan. One mixed stops I for gravely and not senses the quality one XProfan.

therefore be so did i still the opinion the one print sizeOf(explode("","h")) only NULL Show ought to, and not 1 or 4. everything else is wirrig and unxprofanisch...
 
08/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

786 Views

Untitledvor 0 min.
Ernst05/05/14

Themeninformationen

this Topic has 3 subscriber:

iF (2x)
RGH (2x)
Jörg Sellmeyer (2x)


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