Re: All is right !




almas wroter:

Sure, at the last line "you are a comment"
But i did not found any instruction called Wolfgang :-)
:)
Yes, i coult try to igore errors, so i can shutdown some bytes.
May be, i will do it, actualy i prefer that the COM file can detect errors
a run correctly
.... / ....
Ok.

Now, i'm working on an other goal.
The aim is if i have two ascii
between 22h and 2Fh ( i can identify it )
and if the next ascii have same value, i remove it into "~"

Example : (( become ~ ~
but ( * stay (*
### become ~ ~ ~

I try .... and have troubles
If i put ##(*) i obtain ~##(**
or i have in others version ~ ~ ~*)

I fact the next byte keep the value of the byte before.

Not seeing your attempts I can only guess ...
and I'm not sure to understand what it shall do.
A) You like to replace two equal characters with 7eh,20h ("~ ") ?
B) or is your desire to reduce the string size by replacing doubles
with single "~"-bytes ?

Version A) should be simple enough ...
remember the location of the first and write 207eh (endianess!)
to this location if a match occured (advance the pointer by two).
but for B) you also need to move string-parts and adjust its size.

The next step : destroy all the ~

How to destroy a byte ? :)
replace it with 20h? or remove it ?

I spend a large part of saturday and obtain "funny" ; stranges results

Learning by doing can be funny, but it is for sure the right way
for those who like to learn about all details at the lowest level.
Keep on your way! It may sound like a slow way, but what you learn
with this method will remain solid.

__
wolfgang



.



Relevant Pages

  • Re: Some help, please with code
    ... "Wolfgang Kais" wrote: ... Tableappend and it has a query attached to it to do its thing. ... Dim strTable As String, strCriteria As String ... Set rstAppend = .OpenRecordset("TableAppend", dbOpenDynaset, ...
    (microsoft.public.access.formscoding)
  • Re: aus VBA bestimmtes Verzeichnis anzeigen
    ... Wolfgang Thienel ... also nicht das Stammverzeichis ändern und auch nicht ... > lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As ...
    (microsoft.public.de.excel)
  • Re: First Major Guitar Tech Job
    ... You don't have to string it backwards, you just cut off the ball end. ... It's a good thing you brought a reliable guitar for him to use. ... mean you had 10s on the LP, and 9s on the Wolfgang, or did you string up ... cause havoc with a floating bridge. ...
    (alt.guitar)
  • Re: 64 bit IEEE nach double
    ... Hallo Michaela, ... > Wolfgang Bornatowicz wrote: ... > Der modbus sendet dir die daten in der "falschen" Reihenfolge. ... > Wenn Du diesen String umdrehst, abspeicherst, als binary öffnest und einen ...
    (microsoft.public.de.vb)
  • Re: Multiple Filters in a Form
    ... I am not sure how to set a string to null other than ... On viewing the filter grid / SQL via Records, Filters, Advanced ... "Wolfgang Kais" wrote: ... Dim strWhere As String ...
    (microsoft.public.access.forms)