News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Masm32 Library

Started by Danesh, April 02, 2006, 12:55:42 AM

Previous topic - Next topic

Danesh

Hi all,

I am using parse_line function in MASM32 Library (version 8). This function extract words from a line and put it in an array. Source of function is also available with MASM32. When I call this function it removes all other characters except alaphbets. For exampe a string like this: "I am here..." will be "I" "am" Here" and all dots are removed. In source code there is a table all numbers of DB type. Can anybody say how can I change the source code and add other chars to be there after word extraction process ? like "." or "?".

Regards,

D.

hutch--

Danesh,

The trick is to copy the function and slightly rename it so you can use it directly in your source code. Then you edit the table to filter the characters you require. Its a good idea not to modify the original as the later versions of the library will retain the one that is there but the full source is available so that you can make custom versions that do what you need.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php