![]() |
||
| Home | SwiftForth Archive | SwiftX Archive | |

Maybe I don't understand the question. Putting a set of numbers into a
string is trivial so I suspect you're asking something else. To answer the
trivial question:
Step 1) convert the number into a string (see examples in source for . )
Step 2) do a CMOVE from the converted number string into your "Biometric
Status" string
Hint: you could define constants for the location of the start of each of
the substrings in "Biometric Status" to give you a named target for your
CMOVE
Caveats: you have to be careful that your number is not too big for the
target string. If you clamp the length of the CMOVE or use a fixed length
you don't get the whole number. Alternatively, if you do an unrestrained
CMOVE based on a COUNT you might overwrite some other part of your
"Biometric Status" string.
*****
NOTE TO OTHER SFTALK PARTICIPANTS:
Remember that only the respondents whose email addresses say
"@forth.com" work for Forth Inc. The rest of us are just kibitzers trying
to offer helpful advice. Rick is of course a special case as he sometimes
responds from addresses other then his ex officio forth.com address.
> -----Original Message-----
> From: Dr. Roger Dube [SMTP:rdube_at_gate-tech.com]
> Sent: Wednesday, February 13, 2002 9:48 AM
> To: sftalk_at_forth.com
> Subject: [sftalk] need sample for displaying text in a window
>
>
> I have a need to display a variety of information ...
>
----------------------------------------------------------------------
sftalk_at_forth.com The SwiftForth programming discussion email list
To unsubscribe, send subject "unsubscribe sftalk" to listar_at_forth.com
For help with listar commands, send subject "help" to listar_at_forth.com
Archives are located at http://www.forth.com/sftalk -- check them out!
Search the archives! Visit http://www.forth.com/search for details.
Received on Wed Feb 13 2002 - 10:23:42 PST
This archive was generated by hypermail 2.2.0 : Fri Nov 21 2008 - 03:04:21 PST