Laurie, my first E-mail was full of bad advise.  I thought a NUL was
a hex 255.  My bad. 
 
I created the attached NULL.TXT file in a hex editor (EditPad Pro). 
It's a one byte file containing nothing but a hex 00.  Hopefully you
can either open and copy this file's contents or import it into
DataPerfect to get a usable NUL character. 
 
One potential caution ... NULs are used as string termination
characters in several programming languages.  There could be
an issue using it as data if a NUL is a reserved character in
DataPerfect (or in Forth which I think DataPerfect is programmed
in).  Perhaps Lew or someone familiar with internal structures
could comment. 
 
Hope this helps.
 
Pat


At 10:18 PM 11/26/2007, you wrote:
Hi, Pat,
 
Thanks for the suggestion.  I tried putting an Alt-255 character and the file created by the report actually has a character number 255 (Hex FF) rather than a null.  I tried the Alt-0, and it doesn't do anything, unfortunately. All the Alt-x work, except the Alt-zero.  Does you know of any other way to enter characters by ascii number? such as maybe by modifying the printer map, etc?
 
Laurie
 
----- Original Message -----
From: Patrick Riley
To: Dataperfect Users Discussion Group
Sent: Monday, November 26, 2007 19:40
Subject: Re: [Dataperf] Question about creating a file with "Null" character init

Laurie, I believe you can type a null character by holding
down the Alt key and then pressing 2+5+5 (in that sequence)
on your numeric key pad. 

This typed value (displays as a space character) could be
placed in an RV and used to compare to or concatenate to
other strings.

Pat Riley
505-797-9072


At 06:51 PM 11/26/2007, you wrote:
Hi Laurie,

I know that this is possible because I have done it in the past. Unfortunately, all of my older machines are broken, and I can't find it. It was in a database named FIXED.STR which I distributed widely many years ago, and demonstrated in a one of the DataPerfect conferences held on the WordPerfect campus. The database generated an executable program to convert a fixed-width file into a delimited file for import purposes. Maybe someone else on the list still has a copy of it. I'll keep looking...

I think that I defined one of the control characters to be null/zero, but don't remember how I did it...

Best wishes,
Bruce

Laurie Corvacho wrote:
Hello, all,
 
I am trying to use a DataPerfect report to create a file which needs to contain (among other things) null characters.  How can you get a DataPerfect Report to print a null character as part of a text field in a formula?  Alt-n works for other ASCII characters, but not the null/zero.  (I searched my DP mail folder but didn't find a relevant answer regarding this from prior group e-mails.  Is there a way to search the mailing list archives on the dataperfect.nl website?)  I also can create a printer code with the null in it, but I really need to be able to use it in a formula.
 
If all else fails, is there a way to import one into a field in a record where it can be used, such as the way to use the begin and end Bold and Underline codes, as I think it was Ralph explained how to do so long ago?
 
Thanks!
 
Laurie

------------------------------------------------------------------------
_______________________________________________
Dataperf mailing list
[email protected]
http://lists.dataperfect.nl/mailman/listinfo/dataperf
_______________________________________________
Dataperf mailing list
[email protected]
http://lists.dataperfect.nl/mailman/listinfo/dataperf


_______________________________________________
Dataperf mailing list
[email protected]
http://lists.dataperfect.nl/mailman/listinfo/dataperf

_______________________________________________
Dataperf mailing list
[email protected]
http://lists.dataperfect.nl/mailman/listinfo/dataperf
 
_______________________________________________
Dataperf mailing list
[email protected]
http://lists.dataperfect.nl/mailman/listinfo/dataperf

Reply via email to