WRITE method with text that begins with a [

Knowledge exchange related to the VPE Report Engine and PDF Library

Moderator: IDEAL Software Support

WRITE method with text that begins with a [

Postby davem » Mon Jul 23, 2007 12:18 pm

Hi,

Does anyone know why text output using the WRITE method does not display if the text begins with a [ ?

* I'm using version 3.50

TIA

Dave
davem
 
Posts: 21
Joined: Fri Mar 24, 2006 12:52 pm

Postby IDEAL Software Support » Tue Jul 24, 2007 10:07 am

Please see in the Programmer's Manual the chapter "Embedded Flag-Setting".

The "[" denotes a sequence of embedded flags. This is an alternative way to quickly modify properties like font size, colors, etc.

If you wish to print a single "[", use "[[".

Regards
Thorsten Radde
IDEAL Software GmbH
IDEAL Software Support
 
Posts: 1633
Joined: Thu Nov 18, 2004 4:03 pm

Postby davem » Tue Jul 24, 2007 11:04 am

IDEAL Software Support wrote:Please see in the Programmer's Manual the chapter "Embedded Flag-Setting".

The "[" denotes a sequence of embedded flags. This is an alternative way to quickly modify properties like font size, colors, etc.

If you wish to print a single "[", use "[[".

Regards
Thorsten Radde
IDEAL Software GmbH


Thanks Thorsten.

Is there a way to disable the embedded flags check ?

Regards,

Dave
davem
 
Posts: 21
Joined: Fri Mar 24, 2006 12:52 pm

Postby IDEAL Software Support » Tue Jul 24, 2007 8:27 pm

Disabling the embedded flags is not possible, but the "[" character must be the very first character of a given string, so checking for this exception and replacing it with two consecutive "[[" can be done quickly.

Regards
Thorsten Radde
IDEAL Software GmbH
IDEAL Software Support
 
Posts: 1633
Joined: Thu Nov 18, 2004 4:03 pm

Postby davem » Wed Jul 25, 2007 8:42 am

IDEAL Software Support wrote:Disabling the embedded flags is not possible, but the "[" character must be the very first character of a given string, so checking for this exception and replacing it with two consecutive "[[" can be done quickly.

Regards
Thorsten Radde
IDEAL Software GmbH


Thanks Thorsten.

Dave
davem
 
Posts: 21
Joined: Fri Mar 24, 2006 12:52 pm


Return to VPE Open Forum

Who is online

Users browsing this forum: No registered users and 37 guests