So you can check the type (not necessary BM) with a constant... a 'MB' constant is more readable than it's numeric equivalent and what i am asking for (`BM`) would be even more readable...
They are a lot of examples... like *.wav which have this kind of identifiers like "RIFF" "WAVE" "data" and so on...
this code shows what i'm trying to explain (sorry i'm french ^^)
My avatar is a small copy of the 4x1.8m image I created and exposed at 'Le salon international du meuble à Paris' january 2004 in Matt Sindall's 'Shades' designers exhibition. The original laminated print was designed using a 150 dpi printout.
tout ce que je demande c'est si on pourrait avoir de nouvelles constantes ^^
je sais bien qu'il y a 1001 facons de lire un identifiant "ascii" dans un fichier et la plus simple que j'ai trouvée c'est bien le 'isht' mais dans l'espoir d'avoir encore plus simple je laisse une suggestion sur le forum...
Dr. Dri wrote:
sur ce coup là je comprend pas ce que t'a&s voulu dire fweil
en plus ton code est assez risqué...
[...]
tout ce que je demande c'est si on pourrait avoir de nouvelles constantes ^^
je sais bien qu'il y a 1001 facons de lire un identifiant "ascii" dans un fichier et la plus simple que j'ai trouvée c'est bien le 'isht' mais dans l'espoir d'avoir encore plus simple je laisse une suggestion sur le forum...
Good programmers don't comment their code. It was hard to write, should be hard to read.
I agree about the suggestion, just I proposed the fastest way I could imagine, obviously it requires just more code to key in.
My avatar is a small copy of the 4x1.8m image I created and exposed at 'Le salon international du meuble à Paris' january 2004 in Matt Sindall's 'Shades' designers exhibition. The original laminated print was designed using a 150 dpi printout.
GeoTrail wrote:Den skjønte jeg ikke bæret av, men men så kan jeg ikke fransk noe særlig heller
nej det blev jeg ikke klogere af heller. Selvom jeg godt kan tale lidt fransk.
Det kan da ikke passe at vi skal til at bruge Google Translater for at lære noget her?
AFAIK in Norway and Denmark people have some good french speaking skills. Just because I can't read fluently what you wrote !!!
Having a good german level I can understand some parts but not really the full meaning ...
What Europe are we building since Roma agreements ? Big issue since we don't have a common mother tongue.
... this should have been posted in the Off area
My avatar is a small copy of the 4x1.8m image I created and exposed at 'Le salon international du meuble à Paris' january 2004 in Matt Sindall's 'Shades' designers exhibition. The original laminated print was designed using a 150 dpi printout.
sorry but i answered fweil like if we were on the french forum
i completely forgot i was on the official forum
i said this :
i don't understand what you said fweil
and your code is not safe
(+ code that shows the problem of his code)
all i want is this new kind of constant ^^
i also know there is a lot of ways to read an ascii id et the more simple i found is to use 'txet' constants... but i hope it will be possible to write it `text` in PB...
I never had french in school, neither did I have german, I focused on english.
Personally I'd think it would be great if every country took on english as their native language and if they wanted, kept their native as a second tounge hehehe
I Stepped On A Cornflake!!! Now I'm A Cereal Killer!