A Question about TextMappers.Scanner

From: Zinn, Helmut <"Zinn,>
Date: Fri, 20 Sep 2002 13:54:19 +0200

----boundary-LibPST-iamunique-2074312157_-_-
Content-type: text/plain

Dear BlackBox Users.

If I scan the following text via the TextMappers.Scanner
        ... ELSIF sc.string = "SHORTINT" THEN DoSomeThing; ...
then I receive the token
        3 ELSIF
        3 sc
        1 .
        3 string
        1 =
        3 SHORTINT
        3 THEN
        3 DoSomeThing
        1 ;

If I scan the following text via the TextMappers.Scanner
        ... ELSIF sc.string = SHORTINT THEN DoSomeThing; ....
then I receive the token
        3 ELSIF
        3 sc
        1 .
        3 string
        1 =
        3 SHORTINT
        3 THEN
        3 DoSomeThing
        1 ;

How do I distinguish between ... "SHORTINT" ... and ... SHORTINT ... ?

Regards

Helmut Zinn

      \|||/
      (o o)
---ooO-(_)-Ooo------

---
Have a look at http://home.t-online.de/home/a.h.zinn
Send your answer and comments to mailto:a.h.zinn{([at]})nowhere.xy--------------------------------------------
To unsubscribe from this mailing list, send a message containing the word "unsubscribe" to:
   blackbox-request{([at]})nowhere.xyTo get a list of valid e-mail commands and instructions on their usage, send a message containing the word "help" to the above address.
Send any problem reports or questions related to this email list to the list owner at
   owner-blackbox{([at]})nowhere.xyCurrent posting policy:
a) To post you should use the same address by which you are subscribed to the mailing list. That way, the list server will recognize you as subscriber and forward your posting immediately, without creating any overhead.
b) If, for some reason, you cannot post from the address, by which you are subscribed, your message will be moderated to avoid spam. Please understand that moderation will often cause some delay, in particular over weekends or holydays.
----boundary-LibPST-iamunique-2074312157_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM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GFyDQpccGFyDQpDdXJyZW50IHBvc3RpbmcgcG9saWN5OlxwYXINClxwYXINCmEp
IFRvIHBvc3QgeW91IHNob3VsZCB1c2UgdGhlIHNhbWUgYWRkcmVzcyBieSB3aGljaCB5b3UgYXJl
IHN1YnNjcmliZWQgdG8gdGhlIG1haWxpbmcgbGlzdC4gVGhhdCB3YXksIHRoZSBsaXN0IHNlcnZl
ciB3aWxsIHJlY29nbml6ZSB5b3UgYXMgc3Vic2NyaWJlciBhbmQgZm9yd2FyZCB5b3VyIHBvc3Rp
bmcgaW1tZWRpYXRlbHksIHdpdGhvdXQgY3JlYXRpbmcgYW55IG92ZXJoZWFkLlxwYXINClxwYXIN
CmIpIElmLCBmb3Igc29tZSByZWFzb24sIHlvdSBjYW5ub3QgcG9zdCBmcm9tIHRoZSBhZGRyZXNz
LCBieSB3aGljaCB5b3UgYXJlIHN1YnNjcmliZWQsIHlvdXIgbWVzc2FnZSB3aWxsIGJlIG1vZGVy
YXRlZCB0byBhdm9pZCBzcGFtLiBQbGVhc2UgdW5kZXJzdGFuZCB0aGF0IG1vZGVyYXRpb24gd2ls
bCBvZnRlbiBjYXVzZSBzb21lIGRlbGF5LCBpbiBwYXJ0aWN1bGFyIG92ZXIgd2Vla2VuZHMgb3Ig
aG9seWRheX19AHMsIGJlZw==
----boundary-LibPST-iamunique-2074312157_-_---
Received on Fri Sep 20 2002 - 13:54:19 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:29:35 UTC